Building a Twitch Chat Game in Rust part 2 - Twitch Live Stream
In this new series, we continue building a Twitch chat game live.
The idea is to be able to interact with the chat, ask questions, and receive answers from the chat
We have some ideas on the actual interactions but for now, we have been focused on getting the basics working: being able to connect to the Twitch Chat API and start to receive messages.
In this stream, we spent most of our time making sure we could parse all the different kinds of messages coming from Twitch. We also implemented a hello message to all the people joining the channel and we also implemented the PONG command (to reply to ping messages).
All the parsing code is done with the amazing `nom` library ( https://crates.io/crates/nom).
All the code is available on GitHub: https://github.com/lmammino/twitch-chat-bot (specific changes from this session in this PR: https://github.com/lmammino/twitch-chat-bot/pull/1 )
For more live streams, check out our Twitch profile at https://twitch.tv/loige.