Hello, guys!
I wanted to create my own twitch chat bot, but something went wrong. My account’s channel on twitch is qowevisa. And so I wrote in .env file “CHANNEL=qowevisa”.
In my bot.py file I wrote these lines:
I tried to rename “the owner” in twitch developers tab, but only when I set every name to my own name it stopped sending me errors. It just was trying to load variables. I think it stopped working because in the channel was a viewer with the name “qowevisa”.
But they said nothing about how shall I fill the .env file.
Just to clear everything.
In my .env file TMI_TOKEN is oauth from Twitch Chat Password Generator
CLIENT_ID is Client_id in my app in twitch dev
BOT_NICK is just a name and I can set it to whatever I want
CHANNEL is my twitch account
Is it like that? If it is, okay, I’ll close this topic if I can and just go try it one more time and go trying to solve the problem by my own.
Okay. So. I’m really dumb. I was trying to create a bot from my own acc. So I created another acc and everything is fine.
So, I think if .env and code are fine, your problem is that you’re trying to create yourself into a bot…