Merge branch 'wip' into 1.9

This commit is contained in:
Master Kwoth
2017-11-10 13:38:10 +01:00
10 changed files with 165 additions and 20 deletions

View File

@ -6,11 +6,14 @@ namespace NadekoBot.Core.Services.Impl
public class BotConfigProvider : IBotConfigProvider
{
private readonly DbService _db;
private readonly IDataCache _cache;
public BotConfig BotConfig { get; private set; }
public BotConfigProvider(DbService db, BotConfig bc)
public BotConfigProvider(DbService db, BotConfig bc, IDataCache cache)
{
_db = db;
_cache = cache;
BotConfig = bc;
}