diff --git a/PluralKit.Bot/Bot.cs b/PluralKit.Bot/Bot.cs index 85385b18..ff87e9f9 100644 --- a/PluralKit.Bot/Bot.cs +++ b/PluralKit.Bot/Bot.cs @@ -81,7 +81,10 @@ namespace PluralKit.Bot .AddTransient(svc => new DbConnectionFactory(svc.GetRequiredService().Database)) - .AddSingleton() + .AddSingleton(_ => new DiscordShardedClient(new DiscordSocketConfig + { + MessageCacheSize = 0 + })) .AddSingleton() .AddTransient(_ => new CommandService(new CommandServiceConfig