feat: go through some TODOs

This commit is contained in:
spiral
2021-11-26 22:02:58 -05:00
parent 04d78e3348
commit 4450ae4214
21 changed files with 193 additions and 250 deletions

View File

@@ -11,20 +11,15 @@ namespace PluralKit.Bot;
public class ServerConfig
{
private readonly Bot _bot;
private readonly IDiscordCache _cache;
private readonly LoggerCleanService _cleanService;
private readonly IDatabase _db;
private readonly ModelRepository _repo;
public ServerConfig(LoggerCleanService cleanService, IDatabase db, ModelRepository repo, IDiscordCache cache,
Bot bot)
public ServerConfig(LoggerCleanService cleanService, ModelRepository repo, IDiscordCache cache)
{
_cleanService = cleanService;
_db = db;
_repo = repo;
_cache = cache;
_bot = bot;
}
public async Task SetLogChannel(Context ctx)