mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-10 07:47:53 +00:00
Extract Database to interface
This commit is contained in:
parent
70df9cd893
commit
90ac186183
27 changed files with 76 additions and 54 deletions
|
|
@ -53,10 +53,10 @@ namespace PluralKit.Bot
|
|||
.Where(b => b.WebhookName != null)
|
||||
.ToDictionary(b => b.WebhookName);
|
||||
|
||||
private Database _db;
|
||||
private IDatabase _db;
|
||||
private DiscordShardedClient _client;
|
||||
|
||||
public LoggerCleanService(Database db, DiscordShardedClient client)
|
||||
public LoggerCleanService(IDatabase db, DiscordShardedClient client)
|
||||
{
|
||||
_db = db;
|
||||
_client = client;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue