I’ve written a few Twitch bots and I’ve almost always used whatever library comes up first in a Google search. Using a library is great for getting things started but I’ve found that I usually run into issues with the library later on. Ultimately I’ve realized that for something simple like a Twitch bot a library isn’t necessary.

How A Twitch Chat Bot Works

Twitch bots are very simple. They use Internet Relay Chat Protocol(IRC) to communicate with Twitch’s servers. This is a simple protocol that uses plain text messages as commands. For example sending a message is as simple as writing

PRIVMSG #twitchchannelname :message goes here! …

Bradley Saunders

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store