refactor: Downgrade to stable & use AddEmbed over WithEmbed
This commit is contained in:
parent
4705cb5f26
commit
2e73d66dc2
53 changed files with 190 additions and 179 deletions
|
|
@ -34,7 +34,7 @@ internal sealed class VcCreatorCommand : BaseCommand
|
|||
|
||||
var SetChannel = new DiscordButtonComponent(ButtonStyle.Primary, Guid.NewGuid().ToString(), this.GetString(CommandKey.SetVcCreator), false, EmojiTemplates.GetChannel(ctx.Bot).ToComponent());
|
||||
|
||||
_ = await this.RespondOrEdit(new DiscordMessageBuilder().WithEmbed(embed)
|
||||
_ = await this.RespondOrEdit(new DiscordMessageBuilder().AddEmbed(embed)
|
||||
.AddComponents(new List<DiscordComponent>
|
||||
{
|
||||
SetChannel
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue