public FakeTwitchBot( ILogger <FakeTwitchBot> logger, AppSettings settings, IOnRewardHandler onRewardHandler, IOnMessageHandler onMessageHandler, ICustomRewardsHolder rewardsHolder, CancellationTokenProvider tokenProvider) { this.logger = logger; this.settings = settings; this.onRewardHandler = onRewardHandler; this.onMessageHandler = onMessageHandler; this.rewardsHolder = rewardsHolder; this.tokenProvider = tokenProvider; }
public TwitchBot( ILogger <TwitchBot> logger, AppSettings settings, ConnectionCredentials credentials, ITwitchAPI api, ITwitchPubSub pubSub, ITwitchClient client, IOnRewardHandler onRewardHandler, IOnMessageHandler onMessageHandler) { this.logger = logger; this.settings = settings; this.credentials = credentials; this.api = api; this.pubSub = pubSub; this.client = client; this.onRewardHandler = onRewardHandler; this.onMessageHandler = onMessageHandler; }