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