private void OnConnected(object sender, TwitchLib.Client.Events.OnConnectedArgs e) { Debug.Log($"The bot {e.BotUsername} succesfully connected to Twitch."); if (!string.IsNullOrWhiteSpace(e.AutoJoinChannel)) { Debug.Log($"The bot will now attempt to automatically join the channel provided when the Initialize method was called: {e.AutoJoinChannel}"); } }
private void Client_OnConnected(object sender, TwitchLib.Client.Events.OnConnectedArgs e) { // client.ChatThrottler = new MessageThrottler(client, 20, TimeSpan.FromSeconds(30)); logger.Trace("Connected to twitch"); //client.WhisperThrottler.StartQueue(); //client.ChatThrottler.StartQueue(); foreach (var channel in config.JoinedChannels.Keys) { logger.Trace($"Joining {channel}"); client.JoinChannel(channel); } }
private void Client_OnConnected(object sender, TwitchLib.Client.Events.OnConnectedArgs e) { Logger.Instance.LogMessage(TracingLevel.INFO, $"Connected to chat room: {e.AutoJoinChannel}"); if (monitoredStreamers != null) { foreach (var streamer in monitoredStreamers) { client.JoinChannel(streamer); Logger.Instance.LogMessage(TracingLevel.INFO, $"Connecting to chat room: {streamer}"); } } }
private void Client_OnConnected(object sender, TwitchLib.Client.Events.OnConnectedArgs e) { client.SendMessage(TwitchInfo.ChannelName, $"Hi to everyone. I am Sonequabot and I am alive. Again."); }
private static void OnConnected(object sender, Client.Events.OnConnectedArgs connected) => LoggingManager.Log.Info("Connected to Twitch");
private void _TwitchClient_OnConnected(object sender, TwitchLib.Client.Events.OnConnectedArgs e) { _TwitchClient.AddChatCommandIdentifier('!'); _TwitchClient.SendMessage(BotAppSettings.ChannelName, $"O pai ta on! {EmotesConsts.PogChamp}"); Console.WriteLine($"Twitch bot conectado às {DateTime.Now}"); }
private void Client_OnConnected(object sender, TwitchLib.Client.Events.OnConnectedArgs e) { _twitchLibClient.SendMessage(_twitchConfiguration.ChannelName, $"Hi to everyone. I am AmazingTwitchBot and I am alive. Again. Somehow."); }
private void Client_OnConnected(object sender, TwitchLib.Client.Events.OnConnectedArgs e) { Console.WriteLine("Chat Reader connected!"); Auth.SaveAuth(currentAuth.TwitchUsername, currentAuth.TwitchOAuth); }
private void Client_OnConnected(object sender, TwitchLib.Client.Events.OnConnectedArgs e) { Console.WriteLine($"{e.BotUsername} has connected to {e.AutoJoinChannel}"); }
/// <summary> /// Clients the on connected. /// </summary> /// <param name="sender">The sender.</param> /// <param name="e">The e.</param> private void _client_OnConnected(object sender, TwitchLib.Client.Events.OnConnectedArgs e) { _logger.LogInformation("Connected to Twitch as '{username}'", _settings.Twitch.Username); }
private void ChatClient_OnConnected(object sender, TwitchLib.Client.Events.OnConnectedArgs e) { #if DEBUG Trace.WriteLine($"Connected bot of username: {e.BotUsername} to channel: {e.AutoJoinChannel}"); #endif }
private static void TwitchClient_OnConnected(object sender, TwitchLib.Client.Events.OnConnectedArgs e) { Console.WriteLine("Connected~"); con = true; }
private void OnConnected(object sender, TwitchLib.Client.Events.OnConnectedArgs e) { Debug.Log($"The bot {e.BotUsername} successfully connected to Twitch channel {_client.JoinedChannels[0].Channel}"); PostMessage("Hello!"); }
private void _client_OnConnected(object sender, TwitchLib.Client.Events.OnConnectedArgs e) { _logger.Log(_logId++, "Bot connected", DateTime.Now); }
private void Client_OnConnected1(object sender, TwitchLib.Client.Events.OnConnectedArgs e) { client.SendMessage(client.JoinedChannels[0], "Bot connected"); }
private void Client_OnConnected(object sender, TwitchLib.Client.Events.OnConnectedArgs e) { }
/// <summary> /// Event handler for the TwitchClient OnConnected event. /// </summary> private void TwitchClient_OnConnected(object sender, TwitchLib.Client.Events.OnConnectedArgs e) { SendChatMessage("Connected to Twitch!"); }
private void Client_OnConnected(object sender, TwitchLib.Client.Events.OnConnectedArgs e) { Logger.Instance.LogMessage(TracingLevel.INFO, $"Connected to chat room: {e.AutoJoinChannel}"); }
private void Client_OnConnected(object sender, TwitchLib.Client.Events.OnConnectedArgs e) { //client.SendMessage(client.JoinedChannels.FirstOrDefault(), "Eccomi! Pronto a rovinarti la giornata!"); }