Example #1
0
 public ReactionAdded(ILogger logger, IDatabase db, ModelRepository repo,
                      CommandMessageService commandMessageService, IDiscordCache cache, Bot bot, Cluster cluster,
                      DiscordApiClient rest, EmbedService embeds, PrivateChannelService dmCache)
 {
     _db   = db;
     _repo = repo;
     _commandMessageService = commandMessageService;
     _cache   = cache;
     _bot     = bot;
     _cluster = cluster;
     _rest    = rest;
     _embeds  = embeds;
     _logger  = logger.ForContext <ReactionAdded>();
     _dmCache = dmCache;
 }
Example #2
0
 public MessageCreated(LastMessageCacheService lastMessageCache, LoggerCleanService loggerClean,
                       IMetrics metrics, ProxyService proxy,
                       CommandTree tree, ILifetimeScope services, IDatabase db, BotConfig config,
                       ModelRepository repo, IDiscordCache cache,
                       Bot bot, Cluster cluster, DiscordApiClient rest, PrivateChannelService dmCache)
 {
     _lastMessageCache = lastMessageCache;
     _loggerClean      = loggerClean;
     _metrics          = metrics;
     _proxy            = proxy;
     _tree             = tree;
     _services         = services;
     _db      = db;
     _config  = config;
     _repo    = repo;
     _cache   = cache;
     _bot     = bot;
     _cluster = cluster;
     _rest    = rest;
     _dmCache = dmCache;
 }
Example #3
0
 public SystemEdit(DataFileService dataFiles, HttpClient client, PrivateChannelService dmCache)
 {
     _dataFiles = dataFiles;
     _client    = client;
     _dmCache   = dmCache;
 }