2021-08-27 15:03:47 +00:00
|
|
|
using Serilog;
|
2020-08-29 11:46:27 +00:00
|
|
|
|
2021-11-27 02:10:56 +00:00
|
|
|
namespace PluralKit.Core;
|
|
|
|
|
|
|
|
public partial class ModelRepository
|
2020-08-29 11:46:27 +00:00
|
|
|
{
|
2021-11-27 02:10:56 +00:00
|
|
|
private readonly IDatabase _db;
|
|
|
|
private readonly DispatchService _dispatch;
|
|
|
|
private readonly ILogger _logger;
|
|
|
|
|
|
|
|
public ModelRepository(ILogger logger, IDatabase db, DispatchService dispatch)
|
2020-08-29 11:46:27 +00:00
|
|
|
{
|
2021-11-27 02:10:56 +00:00
|
|
|
_logger = logger.ForContext<ModelRepository>();
|
|
|
|
_db = db;
|
|
|
|
_dispatch = dispatch;
|
2020-08-29 11:46:27 +00:00
|
|
|
}
|
|
|
|
}
|