Example #1
0
 public DiscordAlerter(DiscordClientService client, Config config)
 {
     m_Client = client.Client;
     m_Config = config;
 }
Example #2
0
 public DiscordBotWatcher(ILogger <DiscordBotWatcher> logger, DiscordClientService discord, Config config) : base(config.WatchedUsers)
 {
     m_Logger     = logger;
     m_Discord    = discord.Client;
     m_WatchedIds = config.WatchedUsers.ToDictionary(id => id, _ => Status.NowOnline);
 }