public StreamAnnouncer(DiscordSocketClient discordClient, ITwitchApiHelper twitchApiHelper, ILogger logger, IOptions <StreamAnnouncerSettings> settings) { _discordClient = discordClient; _twitchApiHelper = twitchApiHelper; _logger = logger; _settings = settings.Value; }
public GetWinsCommand(ITwitchClient twitchClient, ICounterService counterService, ITwitchApiHelper twitchApiHelper) : base(new List <string> { "wins" }) { _twitchClient = twitchClient; _counterService = counterService; _twitchApiHelper = twitchApiHelper; }
public FortniteTotalWinsCommand(ITwitchClient twitchClient, IFortniteApi fortniteApi, ITwitchApiHelper twitchApiHelper) : base(new List <string> { "totalwins" }) { _twitchClient = twitchClient; _fortniteApi = fortniteApi; _twitchApiHelper = twitchApiHelper; }
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; }
public GameVariable(ITwitchApiHelper twitchApiHelper) : base("game") { _twitchApiHelper = twitchApiHelper; }