public SyndicationRunnable(Function.FunctionConfig config, HttpClient httpClient, Scraper scraper)
 {
     slack = new SlackClient(new SlackConfig {
         WebHookUrl = config.EstrangedDiscordSyndicationWebhook, HttpClient = httpClient
     });
     this.scraper = scraper;
 }
 public CommunityRunnable(ILogger <CommunityRunnable> logger, ISeenItemRepository seenItemRepository, HttpClient httpClient, Function.FunctionConfig config, Scraper scraper)
 {
     slack = new SlackClient(new SlackConfig {
         WebHookUrl = config.EstrangedDiscordCommunityWebhook, HttpClient = httpClient
     });
     this.scraper = scraper;
 }
Example #3
0
 public ReviewsRunnable(ILogger <CommunityRunnable> logger, ISeenItemRepository seenItemRepository, HttpClient httpClient, Function.FunctionConfig config, TranslationClient translation, ISteamClient steam)
 {
     this.logger = logger;
     this.slack  = new SlackClient(new SlackConfig {
         WebHookUrl = config.EstrangedDiscordReviewsWebhook, HttpClient = httpClient
     });
     this.seenItemRepository = seenItemRepository;
     this.translation        = translation;
     this.steam = steam;
 }