Esempio n. 1
0
 public StreamAnnouncer(DiscordSocketClient discordClient, ITwitchApiHelper twitchApiHelper,
                        ILogger logger, IOptions <StreamAnnouncerSettings> settings)
 {
     _discordClient   = discordClient;
     _twitchApiHelper = twitchApiHelper;
     _logger          = logger;
     _settings        = settings.Value;
 }
Esempio n. 2
0
 public GetWinsCommand(ITwitchClient twitchClient, ICounterService counterService,
                       ITwitchApiHelper twitchApiHelper) : base(new List <string>
 {
     "wins"
 })
 {
     _twitchClient    = twitchClient;
     _counterService  = counterService;
     _twitchApiHelper = twitchApiHelper;
 }
Esempio n. 3
0
 public FortniteTotalWinsCommand(ITwitchClient twitchClient, IFortniteApi fortniteApi,
                                 ITwitchApiHelper twitchApiHelper) : base(new List <string>
 {
     "totalwins"
 })
 {
     _twitchClient    = twitchClient;
     _fortniteApi     = fortniteApi;
     _twitchApiHelper = twitchApiHelper;
 }
Esempio n. 4
0
 public StreamAnnouncer(DiscordSocketClient discordClient, ITwitchApiHelper twitchApiHelper,
                        ILogger <StreamAnnouncer> logger, IDataStoreRepository <Streamer> streamerRepository,
                        IOptions <ConfigSettings> settings, IDataStoreRepository <AnnouncementMessages> announcementMessageRepository,
                        IDataStoreRepository <DiscordSettings> discordSettingsRepository,
                        IDataStoreRepository <PinnedMessage> pinnedMessageRepository)
 {
     _discordClient                 = discordClient;
     _twitchApiHelper               = twitchApiHelper;
     _logger                        = logger;
     _streamerRepository            = streamerRepository;
     _announcementMessageRepository = announcementMessageRepository;
     _discordSettingsRepository     = discordSettingsRepository;
     _pinnedMessageRepository       = pinnedMessageRepository;
     _configSettings                = settings.Value;
 }
Esempio n. 5
0
 public GameVariable(ITwitchApiHelper twitchApiHelper) : base("game")
 {
     _twitchApiHelper = twitchApiHelper;
 }