Simple Tutorial: Twitch Chat Bot in C#. Cleaning up chat and closing [Part 2]



Finishing up gathering chat messages. The bot is basically a chat window at this point.

Part 3 will cover basic commands!

This video covers the basic framework needed to send and receive commands from Twitch’s IRC server.

Part 1: https://www.youtube.com/watch?v=FumqLvCxsnU

Visual Studio 2015: https://www.visualstudio.com/en-us/products/visual-studio-community-vs.aspx

Oauth generator: https://twitchapps.com/tmi/

source

7 comments

  1. This part is crashing my app :/ If i change the value to Zero, it is working but it doesn't cleanup the unneeded data.
    string message = readData.Split(separator, StringSplitOptions.None)[1];

    Also, how do i make the text automaticly roll to the newest message?

  2. Ping thingy doesnt work: 'string' does not contain a definition for 'Conctains' and no extension method 'Conctains' accepting a first argument of type 'string' could be found (are you missing a using directive or an assembly reference?) TwitchBot C:UsersLaigaarddocumentsvisual studio 2015ProjectstwitchBotTwitchBotForm1.cs 83 Active

Leave a Reply

Your email address will not be published. Required fields are marked *