feat: add /configure-channels command
This commit is contained in:
parent
110edd34b4
commit
4db09346e2
7 changed files with 588 additions and 25 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue