mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +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");
|
||||
await services.GetRequiredService<Bot>().Init();
|
||||
|
||||
|
||||
await client.StartAsync();
|
||||
|
||||
|
|
@ -80,7 +79,7 @@ namespace PluralKit.Bot
|
|||
|
||||
.AddSingleton<IDiscordClient, DiscordShardedClient>(_ => new DiscordShardedClient(new DiscordSocketConfig
|
||||
{
|
||||
MessageCacheSize = 10,
|
||||
MessageCacheSize = 5,
|
||||
ExclusiveBulkDelete = true
|
||||
}))
|
||||
.AddSingleton<Bot>()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue