コード例 #1
0
 public Misc(BotConfig botConfig, IMetrics metrics, CpuStatService cpu, ShardInfoService shards, IDataStore data, EmbedService embeds)
 {
     _botConfig = botConfig;
     _metrics   = metrics;
     _cpu       = cpu;
     _shards    = shards;
     _data      = data;
     _embeds    = embeds;
 }
コード例 #2
0
 public Misc(BotConfig botConfig, IMetrics metrics, CpuStatService cpu, ShardInfoService shards, EmbedService embeds, ModelRepository repo, IDatabase db)
 {
     _botConfig = botConfig;
     _metrics   = metrics;
     _cpu       = cpu;
     _shards    = shards;
     _embeds    = embeds;
     _repo      = repo;
     _db        = db;
 }
コード例 #3
0
ファイル: Misc.cs プロジェクト: guccigang17/PluralKit
 public Misc(BotConfig botConfig, IMetrics metrics, CpuStatService cpu, ShardInfoService shards, EmbedService embeds, ModelRepository repo, IDatabase db, IDiscordCache cache, DiscordApiClient rest, Bot bot, Cluster cluster)
 {
     _botConfig = botConfig;
     _metrics   = metrics;
     _cpu       = cpu;
     _shards    = shards;
     _embeds    = embeds;
     _repo      = repo;
     _db        = db;
     _cache     = cache;
     _rest      = rest;
     _bot       = bot;
     _cluster   = cluster;
 }