Twitchbot can't conect to irc.twitch.tv

Hi, I’m a newbie, and i need help:

Input: http://pastebin.com/aWGnMF9c
Output: http://pastebin.com/DjQd83rq

And I don’t know why isn’t work ;/
Thanks !

EDIT: oauth change every times when i connect to https://twitchapps.com/tmi

The OAuth will change every time. You’re generating a new token each time.

Please read the docs here: https://dev.twitch.tv/docs/irc/

A few things I noticed: try irc.chat.twitch.tv instead of just irc.twitch.tv, your NICK isn’t all lowercase as specified in the docs, the channel name isn’t lowercase as specified in the docs.

Yes, now it’s work, thanks but i can’t use my bot, it didn’t scan the chat :

1480763270152 :tmi.twitch.tv 001 pierrepier5 :Welcome, GLHF!
1480763270153 :tmi.twitch.tv 002 pierrepier5 :Your host is tmi.twitch.tv
1480763270153 :tmi.twitch.tv 003 pierrepier5 :This server is rather new
1480763270153 :tmi.twitch.tv 004 pierrepier5 :-
1480763270153 *** Logged onto server.
1480763270154 :tmi.twitch.tv 375 pierrepier5 :-
1480763270154 >>>JOIN pierrepier5
1480763270154 :tmi.twitch.tv 372 pierrepier5 :You are in a maze of twisty passages, all alike.
1480763270155 :tmi.twitch.tv 376 pierrepier5 :>
1480763270386 :pierrepier5!pierrepier5@pierrepier5.tmi.twitch.tv JOIN pierrepier5
1480763270388 :pierrepier5.tmi.twitch.tv 353 pierrepier5 = pierrepier5 :pierrepier5
1480763270388 :pierrepier5.tmi.twitch.tv 366 pierrepier5 pierrepier5 :End of /NAMES list

You’re missing the # from the channel on your JOIN. It should be JOIN #pierrepier5

thanks it’s work now

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