예제 #1
0
 private void OnConnected(object sender, TwitchLib.Client.Events.OnConnectedArgs e)
 {
     if (_channeltwo != "")
     {
         _client.JoinChannel(_channeltwo);
     }
 }
예제 #2
0
    private void OnConnected(object sender, TwitchLib.Client.Events.OnConnectedArgs e)
    {
        Debug.Log($"The bot {e.BotUsername} succesfully connected to Twitch.");
        feedbackTxt.text = $"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}");*/
    }
예제 #3
0
 private void Client_OnConnected(object sender, TwitchLib.Client.Events.OnConnectedArgs e)
 {
     _twitchClient.SendMessage(_twitchConfiguration.ChannelName, $"Hi to everyone.");
 }
예제 #4
0
 private void Client__OnConnected(object sender, TwitchLib.Client.Events.OnConnectedArgs e)
 {
     client_.JoinChannel(channel_);
 }
예제 #5
0
 void onConnected(object sender, TwitchLib.Client.Events.OnConnectedArgs e)
 {
     Debug.Log("<< Connected >>");
 }
 private void Client_OnConnected(object sender, TwitchLib.Client.Events.OnConnectedArgs e)
 {
     Debug.Log("Connected!");
 }
예제 #7
0
 private void Client_OnConnected(object sender, TwitchLib.Client.Events.OnConnectedArgs e)
 {
     client.SendMessage(_options.ChannelName, $"Hi to everyone. I am Sonequabot and I am alive. Again.");
 }
예제 #8
0
 private void Client_OnConnected(object sender, TwitchLib.Client.Events.OnConnectedArgs e)
 {
     client.SendMessage(client.JoinedChannels[0], "Welcome to the underworld. Try typing 'faster' or 'slower' to alter the tempo of the game.");
     Debug.Log("conncted to " + client.JoinedChannels[0]);
 }
 /// <summary>
 /// Callback triggered when we connect to chat
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void ChatClient_OnConnected(object sender, TwitchLib.Client.Events.OnConnectedArgs e)
 {
     //Send a message to let the user know that we have connected
     SendChatMessage("Connected to Chat. If I'm not a mod please mod or VIP me so I can bypass spam limits!");
 }
예제 #10
0
 private void ClientReference_OnConnected(object sender, TwitchLib.Client.Events.OnConnectedArgs e)
 {
     Debug.Log("Connected: " + e.AutoJoinChannel + " with username: " + e.BotUsername);
 }