public TestCommand(ILogger <TestCommand> logger, ITwitchCommandSubject subject, ITwitchIrcClientAdapter client) { _logger = logger; _subject = subject; _client = client; subject.Attach(this); runner = Run(); }
public CatfactsCommand( ILogger <CatfactsCommand> logger, ITwitchCommandSubject subject, ITwitchIrcClientAdapter ircClient, HttpClient httpClient) { _logger = logger; _subject = subject; _ircClient = ircClient; _httpClient = httpClient; subject.Attach(this); runner = Run(); }
public SoundsCommand( ILogger <SoundsCommand> logger, ITwitchCommandSubject subject, ITwitchIrcClientAdapter ircClient, IOptions <SoundsCommandSettings> config) { _logger = logger; _subject = subject; _ircClient = ircClient; _config = config.Value; Core.Initialize(); _libVLC = new LibVLC(); _player = new MediaPlayer(_libVLC); subject.Attach(this); _runner = Run(); }