mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-11 16:20:13 +00:00
Lower message cache size
This commit is contained in:
parent
17c8b7b765
commit
fda98bc25f
1 changed files with 1 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue