DEV Community

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

Collapse
 
xdnuggets profile image
Nuggets • Edited

It keeps saying "Make sure channel exists. I have tried the url type, twitch.tv/channelname, and just the channel name. I have made a new oauth, and tried everything I can. EDIT: Just looked at the other comments, and figured out that bot_nick needs to be the channel name, so what do I put at CHANNEL=?

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

BOT_NICK is the channel name of the bot account, CHANNEL is the channel name of the channel whose chat you'd like the bot to join. Just the usernames, don't use the "twitch.tv/" prefix.