mirror of
https://github.com/NoiTheCat/WorldTime.git
synced 2024-11-21 14:34:36 +00:00
Auto shard count
This commit is contained in:
parent
5e02946502
commit
d06955bf12
1 changed files with 0 additions and 1 deletions
|
@ -40,7 +40,6 @@ internal class WorldTime : IDisposable {
|
||||||
|
|
||||||
// Configure client
|
// Configure client
|
||||||
DiscordClient = new DiscordShardedClient(new DiscordSocketConfig() {
|
DiscordClient = new DiscordShardedClient(new DiscordSocketConfig() {
|
||||||
TotalShards = Config.ShardTotal,
|
|
||||||
LogLevel = LogSeverity.Info,
|
LogLevel = LogSeverity.Info,
|
||||||
DefaultRetryMode = RetryMode.RetryRatelimit,
|
DefaultRetryMode = RetryMode.RetryRatelimit,
|
||||||
MessageCacheSize = 0, // disable message cache
|
MessageCacheSize = 0, // disable message cache
|
||||||
|
|
Loading…
Reference in a new issue