Python twitch bot code example

I am trying to make code example to work. I’ve created account for my bot, generated auth token, copied client id however class method on_welcome never gets called.
When I connect to IRC via sockets that’s the output: 001 codexchatbot :Welcome, GLHF! 002 codexchatbot :Your host is 003 codexchatbot :This server is rather new 004 codexchatbot :- 375 codexchatbot :- 372 codexchatbot :You are in a maze of twisty passages, all alike. 376 codexchatbot :>

:codexchatbot! JOIN 353 codexchatbot = :bot 366 codexchatbot :End of /NAMES list

And new messages never get printed.
Please help!

Seems you need a channelname. Just send “JOIN #channelname” instead of “JOIN”. Replace ‘channelname’ with your channel

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.