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