feat: ignore channel commands
This commit is contained in:
parent
4f718cde20
commit
af437ff88c
6 changed files with 319 additions and 0 deletions
|
|
@ -114,6 +114,7 @@ public static class StartupExtensions
|
|||
.AddSingleton<PkMessageHandler>()
|
||||
.AddSingleton(InMemoryDataService<Snowflake, ChannelCommandData>.Instance)
|
||||
.AddSingleton<GuildFetchService>()
|
||||
.AddTransient<PermissionResolverService>()
|
||||
// GuildFetchService is added as a separate singleton as it's also injected into other services.
|
||||
.AddHostedService(serviceProvider =>
|
||||
serviceProvider.GetRequiredService<GuildFetchService>()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue