예제 #1
0
 public TwitterJob(IServiceScopeFactory scopeFactory, DiscordClient dClient, RedditClient redditAPI, BloonLog bloonLog)
 {
     this.dClient        = dClient;
     this.bloonLog       = bloonLog;
     this.twitterService = new TwitterService(scopeFactory);
     this.twitterService.Authenticate();
     this.redditAPI = redditAPI;
 }
예제 #2
0
 public SBAInactivityJob(IServiceScopeFactory scopeFactory, DiscordClient dClient, BloonLog bloonLog)
 {
     this.scopeFactory = scopeFactory;
     this.dClient      = dClient;
     this.bloonLog     = bloonLog;
 }
예제 #3
0
 public SteamNewsJob(DiscordClient dClient, BloonLog bloonLog, SteamNewsService newsService)
 {
     this.dClient     = dClient;
     this.bloonLog    = bloonLog;
     this.newsService = newsService;
 }
예제 #4
0
 public YouTubeJob(DiscordClient dClient, BloonLog bloonLog, YouTubeService youTubeService)
 {
     this.dClient        = dClient;
     this.bloonLog       = bloonLog;
     this.youTubeService = youTubeService;
 }
예제 #5
0
 public JobManager(IServiceScopeFactory factory, BloonLog bloonLog)
 {
     this.factory  = factory;
     this.bloonLog = bloonLog;
     this.jobs     = new HashSet <ITimedJob>();
 }
예제 #6
0
 public LTPPruneFeature(IServiceScopeFactory scopeFactory, JobManager jobManager, DiscordClient dClient, BloonLog bloonLog)
 {
     this.jobManager  = jobManager;
     this.ltpPruneJob = new LTPPruneJob(scopeFactory, dClient, bloonLog);
 }
예제 #7
0
파일: WikiJob.cs 프로젝트: BloonBot/Bloon
 public WikiJob(DiscordClient dClient, BloonLog bloonLog, WikiService wikiService)
 {
     this.dClient     = dClient;
     this.bloonLog    = bloonLog;
     this.wikiService = wikiService;
 }
예제 #8
0
 public HelpraceJob(DiscordClient dClient, BloonLog bloonLog, HelpraceService helpraceService)
 {
     this.dClient         = dClient;
     this.bloonLog        = bloonLog;
     this.helpraceService = helpraceService;
 }
예제 #9
0
 public UserInfoLoggingFeature(DiscordClient dClient, BloonLog bloonLog, UserEventService userEventService)
 {
     this.dClient          = dClient;
     this.bloonLog         = bloonLog;
     this.userEventService = userEventService;
 }
예제 #10
0
 public TwitterFeature(IServiceScopeFactory scopeFactory, JobManager jobManager, DiscordClient dClient, RedditClient rClient, BloonLog bloonLog)
 {
     this.jobManager = jobManager;
     this.twitterJob = new TwitterJob(scopeFactory, dClient, rClient, bloonLog);
 }
예제 #11
0
 public SBAInactivityFeature(IServiceScopeFactory scopeFactory, JobManager jobManager, DiscordClient dClient, BloonLog bloonLog)
 {
     this.scopeFactory     = scopeFactory;
     this.dClient          = dClient;
     this.jobManager       = jobManager;
     this.sbaInactivityJob = new SBAInactivityJob(scopeFactory, dClient, bloonLog);
 }
예제 #12
0
 public NowPlayingJob(DiscordClient dClient, BloonLog bloonLog)
 {
     this.dClient  = dClient;
     this.bloonLog = bloonLog;
 }
예제 #13
0
 public LTPPruneJob(IServiceScopeFactory scopeFactory, DiscordClient dClient, BloonLog bloonLog)
 {
     this.scopeFactory = scopeFactory;
     this.dClient      = dClient;
     this.bloonLog     = bloonLog;
 }
예제 #14
0
 public NowPlayingFeature(JobManager jobManager, IServiceScopeFactory scopeFactory, DiscordClient dClient, BloonLog bloonLog)
 {
     this.jobManager    = jobManager;
     this.scopeFactory  = scopeFactory;
     this.dClient       = dClient;
     this.nowPlayingJob = new NowPlayingJob(dClient, bloonLog);
 }