Hi,
thank you for your time.
I am trying to create a twitch bot in python, but it does not work.
I have created a new twitch account.
I get the token OAUTH from: [https://twitchapps.com/tmi/ ]
And created an Application with the same account: [https://dev.twitch.tv/console/apps]
This the code:
from twitchio.ext import commands
class Bot(commands.Bot):
def __init__(self):
super().__init__(
irc_token='oauth:j34mzck5qg0bp4yrr4psqmky3w****',
client_id='bagdjrygkedjfgq7jyadnk2ysb****',
nick='commandsbot',
prefix='!',
initial_channels=['#is_tommy'])
bot = Bot()
bot.run()
and the error:
exception=TimeoutError('Request to join the "is_tommy" channel has timed out. Make sure the channel exists.')
I have tried other channels’ names, but those don’t work either.
Any idea of what am I doing wrong?
Thank you!