public async Task ConnectToTwitch_WithValidParamaters_ShouldSucceed() { // ARRANGE var userName = "******"; var password = "******"; // ACT await sut.CreateTwitchClient(userName, password); // ASSERT Assert.True(sut.IsInitialized); }
public Task StartBot() { if (!_twitchService.IsInitialized) { // todo: read username and password from config settings var task = _twitchService.CreateTwitchClient("twiliochatbot", "oauth:3ehb2hdqt9qm3ib6khcte4dkcyhss3"); } LoadChannels(); return Task.CompletedTask; }