feat: split ignores into 'ignore messages' and 'ignore entities'
This commit is contained in:
parent
d48ab7e16e
commit
0cac964aa6
32 changed files with 730 additions and 488 deletions
|
|
@ -27,6 +27,7 @@ using Remora.Discord.API.Abstractions.Objects;
|
|||
using Remora.Discord.API.Gateway.Commands;
|
||||
using Remora.Discord.API.Objects;
|
||||
using Remora.Discord.Commands.Extensions;
|
||||
using Remora.Discord.Commands.Responders;
|
||||
using Remora.Discord.Extensions.Extensions;
|
||||
using Remora.Discord.Gateway;
|
||||
using Remora.Discord.Interactivity.Extensions;
|
||||
|
|
@ -83,6 +84,7 @@ builder
|
|||
]
|
||||
);
|
||||
})
|
||||
.Configure<InteractionResponderOptions>(opts => opts.SuppressAutomaticResponses = true)
|
||||
.AddDiscordCommands(
|
||||
enableSlash: true,
|
||||
useDefaultCommandResponder: false,
|
||||
|
|
@ -94,10 +96,12 @@ builder
|
|||
.WithCommandGroup<ChannelCommands>()
|
||||
.WithCommandGroup<KeyRoleCommands>()
|
||||
.WithCommandGroup<InviteCommands>()
|
||||
.WithCommandGroup<IgnoreChannelCommands>()
|
||||
.WithCommandGroup<IgnoreMessageCommands>()
|
||||
.WithCommandGroup<IgnoreMessageCommands.Channels>()
|
||||
.WithCommandGroup<IgnoreMessageCommands.Users>()
|
||||
.WithCommandGroup<IgnoreMessageCommands.Roles>()
|
||||
.WithCommandGroup<RedirectCommands>()
|
||||
.WithCommandGroup<WatchlistCommands>()
|
||||
.WithCommandGroup<IgnoreUserCommands>()
|
||||
// End command tree
|
||||
.Finish()
|
||||
.AddPagination()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue