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
|
|
@ -14,12 +14,12 @@ using Serilog;
|
|||
namespace PluralKit.Bot {
|
||||
public class LogChannelService {
|
||||
private readonly EmbedService _embed;
|
||||
private readonly Database _db;
|
||||
private readonly IDatabase _db;
|
||||
private readonly IDataStore _data;
|
||||
private readonly ILogger _logger;
|
||||
private readonly DiscordRestClient _rest;
|
||||
|
||||
public LogChannelService(EmbedService embed, ILogger logger, DiscordRestClient rest, Database db, IDataStore data)
|
||||
public LogChannelService(EmbedService embed, ILogger logger, DiscordRestClient rest, IDatabase db, IDataStore data)
|
||||
{
|
||||
_embed = embed;
|
||||
_rest = rest;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue