Performance improvements. Timely command almost done

This commit is contained in:
Master Kwoth
2017-10-26 11:31:44 +02:00
parent ffcaa594c9
commit 8220487672
18 changed files with 2084 additions and 23 deletions

View File

@ -65,8 +65,8 @@ namespace NadekoBot
_log = LogManager.GetCurrentClassLogger();
TerribleElevatedPermissionCheck();
Cache = new RedisCache();
Credentials = new BotCredentials();
Cache = new RedisCache(Credentials);
_db = new DbService(Credentials);
Client = new DiscordSocketClient(new DiscordSocketConfig
{
@ -185,7 +185,6 @@ namespace NadekoBot
throw;
}
toReturn.Add(x);
//_log.Info("Loaded {0} typereader.", x.GetType().Name);
}
return toReturn;