DEV Community

Discussion on: Let's make a Twitch bot with Python!

Collapse
 
robbieb212 profile image
RobbieB212

Still says channel not found for me, do I put my channel name in the "channel" variable?

Collapse
 
space__cdt profile image
Space Cadet

you need to define CHANNEL in your .env file like this:

CHANNEL="#channel_name"

Collapse
 
cgusb profile image
Gus Becker

Make sure you are using the TMI token and Client ID for your bot channel and not your personal Twitch account. BOT_NICK is the channel name of your bot and CHANNEL is the channel name of the account whose chat you'd like the bot to join.