Ejemplo n.º 1
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, DiscordApiClient rest)
 {
     _lastMessageCache = lastMessageCache;
     _loggerClean      = loggerClean;
     _metrics          = metrics;
     _proxy            = proxy;
     _tree             = tree;
     _services         = services;
     _db     = db;
     _config = config;
     _repo   = repo;
     _cache  = cache;
     _bot    = bot;
     _rest   = rest;
 }
Ejemplo n.º 2
0
 public MessageCreated(LastMessageCacheService lastMessageCache, LoggerCleanService loggerClean,
                       IMetrics metrics, ProxyService proxy, DiscordShardedClient client,
                       CommandTree tree, ILifetimeScope services, IDatabase db, BotConfig config, ModelRepository repo)
 {
     _lastMessageCache = lastMessageCache;
     _loggerClean      = loggerClean;
     _metrics          = metrics;
     _proxy            = proxy;
     _client           = client;
     _tree             = tree;
     _services         = services;
     _db     = db;
     _config = config;
     _repo   = repo;
 }
Ejemplo n.º 3
0
 public Admin(BotConfig botConfig, IDatabase db, ModelRepository repo)
 {
     _botConfig = botConfig;
     _db        = db;
     _repo      = repo;
 }