Esempio n. 1
0
 // private readonly string _feedUrl;
 public YoutubeMonitoringJob(string channelId, SteveBotContext botContext, DiscordSocketClient client)
 {
     _channelId  = channelId;
     _botContext = botContext;
     _client     = client;
     // _feedUrl = $@"https://www.youtube.com/feeds/videos.xml?channel_id={_channelId}";
 }
 public TwitchMonitoringJob(long channelId, TwitchService twitchService, SteveBotContext botContext,
                            DiscordSocketClient client)
 {
     _channelId     = channelId;
     _twitchService = twitchService;
     _botContext    = botContext;
     _client        = client;
 }
Esempio n. 3
0
 public TwitterModule(TwitterService twitterService, SteveBotContext botContext, BotConfig config,
                      IServiceProvider provider)
 {
     _twitterService = twitterService;
     _botContext     = botContext;
     _config         = config;
     _provider       = provider;
 }
Esempio n. 4
0
 public TwitterMonitoringJob(long twitterUserId, TwitterService twitterService, SteveBotContext botContext,
                             DiscordSocketClient client)
 {
     _twitterUserId  = twitterUserId;
     _twitterService = twitterService;
     _botContext     = botContext;
     _client         = client;
 }
Esempio n. 5
0
 public GuildModule(SteveBotContext botContext)
 {
     _botContext = botContext;
 }
 public YoutubeModule(SteveBotContext botContext, IServiceProvider provider)
 {
     _botContext = botContext;
     _provider   = provider;
 }
Esempio n. 7
0
 public TwitchModule(TwitchService twitchService, SteveBotContext botContext, IServiceProvider provider)
 {
     _twitchService = twitchService;
     _botContext    = botContext;
     _provider      = provider;
 }