refactor: don't DI IDatabase and ModelRepository into bot command classes

This commit is contained in:
spiral 2022-01-22 03:05:01 -05:00
parent 89c44a3482
commit df6a6fcf12
No known key found for this signature in database
GPG key ID: A6059F0CA0E1BD31
20 changed files with 194 additions and 284 deletions

View file

@ -80,7 +80,7 @@ public class LoggerCleanService
_logger = logger.ForContext<LoggerCleanService>();
}
public ICollection<LoggerBot> Bots => _bots.Values;
public static ICollection<LoggerBot> Bots => _bots.Values;
public async ValueTask HandleLoggerBotCleanup(Message msg)
{