feat: go through some TODOs

This commit is contained in:
spiral 2021-11-26 22:02:58 -05:00
parent 04d78e3348
commit 4450ae4214
No known key found for this signature in database
GPG key ID: A6059F0CA0E1BD31
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)