Fixed cpu usage

This commit is contained in:
Master Kwoth committed 2017-10-24 05:06:06 +02:00
1 parent ec539bf884
commit 15faf088d2
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -21,7 +21,7 @@ namespace NadekoBot.Core.Services.Impl
private readonly IBotCredentials _creds;
private readonly DateTime _started;
public const string BotVersion = "2.1.1";
public const string BotVersion = "2.1.2";
public string Author => "Kwoth#2560";
public string Library => "Discord.Net";
@@ -228,6 +228,7 @@ namespace NadekoBot.Core.Services
await Task.Delay(6000).ConfigureAwait(false);
}
tsc.TrySetResult(true);
await Task.Delay(6000).ConfigureAwait(false);
}
while (true);
// ^ keep checking for shards which need to be restarted