feat: add /configure-channels command

This commit is contained in:
sam 2024-08-14 16:05:43 +02:00
parent 110edd34b4
commit 4db09346e2
Signed by: sam
GPG key ID: 5F3C3C1B3166639D
7 changed files with 588 additions and 25 deletions

View file

@ -37,14 +37,16 @@ builder.Host
GatewayIntents.GuildWebhooks |
GatewayIntents.MessageContents |
GatewayIntents.GuildEmojisAndStickers)
.AddDiscordCommands(enableSlash: true)
.AddDiscordCommands(enableSlash: true, useDefaultCommandResponder: false)
.AddCommandTree()
// Start command tree
.WithCommandGroup<MetaCommands>()
.WithCommandGroup<ChannelCommands>()
// End command tree
.Finish()
.AddPagination()
.AddInteractivity()
.AddInteractionGroup<ChannelCommandsComponents>()
);
builder.Services