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
|
|
@ -16,10 +16,10 @@ namespace PluralKit.Bot {
|
|||
public class EmbedService
|
||||
{
|
||||
private IDataStore _data;
|
||||
private Database _db;
|
||||
private IDatabase _db;
|
||||
private DiscordShardedClient _client;
|
||||
|
||||
public EmbedService(DiscordShardedClient client, IDataStore data, Database db)
|
||||
public EmbedService(DiscordShardedClient client, IDataStore data, IDatabase db)
|
||||
{
|
||||
_client = client;
|
||||
_data = data;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue