Lower message cache size

This commit is contained in:
Ske 2019-08-12 05:03:18 +02:00
parent 17c8b7b765
commit fda98bc25f

View File

@ -58,7 +58,6 @@ namespace PluralKit.Bot
logger.Information("Initializing bot"); logger.Information("Initializing bot");
await services.GetRequiredService<Bot>().Init(); await services.GetRequiredService<Bot>().Init();
await client.StartAsync(); await client.StartAsync();
try try
@ -80,7 +79,7 @@ namespace PluralKit.Bot
.AddSingleton<IDiscordClient, DiscordShardedClient>(_ => new DiscordShardedClient(new DiscordSocketConfig .AddSingleton<IDiscordClient, DiscordShardedClient>(_ => new DiscordShardedClient(new DiscordSocketConfig
{ {
MessageCacheSize = 10, MessageCacheSize = 5,
ExclusiveBulkDelete = true ExclusiveBulkDelete = true
})) }))
.AddSingleton<Bot>() .AddSingleton<Bot>()