Lower message cache size
This commit is contained in:
parent
17c8b7b765
commit
fda98bc25f
@ -57,7 +57,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();
|
||||||
|
|
||||||
@ -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>()
|
||||||
|
Loading…
Reference in New Issue
Block a user