# IRC Bot not receiving PRIVMSG from certain channels

**URL:** <https://discuss.dev.twitch.com/t/irc-bot-not-receiving-privmsg-from-certain-channels/10666>\
**Category:** Chat and IRC\
**Created:** [June 9, 2017, 9:19pm UTC](https://discuss.dev.twitch.com/t/irc-bot-not-receiving-privmsg-from-certain-channels/10666 "2017-06-09T21:19:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pgmichael](https://avatars.discourse-cdn.com/v4/letter/p/22d042/32.png) [@pgmichael](https://discuss.dev.twitch.com/u/pgmichael)\
**Post date:** [June 9, 2017, 9:19pm UTC](https://discuss.dev.twitch.com/t/irc-bot-not-receiving-privmsg-from-certain-channels/10666/1 "2017-06-09T21:19:19Z")

</div>

I am having issues with my Bot. Basically, what I’m trying to do is a bot that logs the chat from multiple channels. However, for some reasons, it seems I am unable to retrieve any messages other than the connection messages and “ping” messages.

I tried different servers depending on what the API would tell me is available for that specific channel with no success ([tmi.twitch.tv:6667](http://tmi.twitch.tv:6667), [irc.chat.twitch.tv:6667](http://irc.chat.twitch.tv:6667), [irc.chat.twitch.tv:80](http://irc.chat.twitch.tv:80)).

Here’s an example of what appears a successful connection, but does not send me any PRIVMSG:  
**Api log:**

> {“cluster”:“aws”,  
> “servers”:[“[irc.chat.twitch.tv:80](http://irc.chat.twitch.tv:80)”,“[irc.chat.twitch.tv:6667](http://irc.chat.twitch.tv:6667)”],  
> “websockets\_servers”:[“[irc-ws.chat.twitch.tv:80](http://irc-ws.chat.twitch.tv:80)”]}

**Connection log (on [irc.chat.twitch.tv:6667](http://irc.chat.twitch.tv:6667)):**

> :tmi.twitch.tv 001 twitchusername :Welcome, GLHF!  
> :tmi.twitch.tv 002 twitchusername :Your host is [tmi.twitch.tv](http://tmi.twitch.tv)  
> :tmi.twitch.tv 003 twitchusername :This server is rather new  
> :tmi.twitch.tv 004 twitchusername :-  
> :tmi.twitch.tv 375 twitchusername :-  
> :tmi.twitch.tv 372 twitchusername :You are in a maze of twisty passages, all alike.  
> :tmi.twitch.tv 376 twitchusername :\>  
> :twitchusername!twitchusername@twitchusername.tmi.twitch.tv JOIN #PGL  
> :twitchusername.tmi.twitch.tv 353 twitchusername = #PGL :twitchusername  
> :twitchusername.tmi.twitch.tv 366 twitchusername #PGL :End of /NAMES list

Am I doing something wrong?

---

<div class="post-metadata">

**Author:** ![george](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/george/32/120_2.png) [@george](https://discuss.dev.twitch.com/u/george)\
**Post date:** [June 9, 2017, 9:26pm UTC](https://discuss.dev.twitch.com/t/irc-bot-not-receiving-privmsg-from-certain-channels/10666/2 "2017-06-09T21:26:48Z")

</div>

Channel names must be in all lowercase.

`JOIN #pgl` not `JOIN #PGL`

---

<div class="post-metadata">

**Author:** ![pgmichael](https://avatars.discourse-cdn.com/v4/letter/p/22d042/32.png) [@pgmichael](https://discuss.dev.twitch.com/u/pgmichael)\
**Post date:** [June 9, 2017, 9:27pm UTC](https://discuss.dev.twitch.com/t/irc-bot-not-receiving-privmsg-from-certain-channels/10666/3 "2017-06-09T21:27:40Z")

</div>

My dude, you’re the best.

---

<div class="post-metadata">

**Author:** ![system](https://d2opxh93rbxzdn.cloudfront.net/original/2X/0/05909729875cce3b53e59d5561c4d23bb14948fc.png) [@system](https://discuss.dev.twitch.com/u/system)\
**Post date:** [July 9, 2017, 9:39pm UTC](https://discuss.dev.twitch.com/t/irc-bot-not-receiving-privmsg-from-certain-channels/10666/4 "2017-07-09T21:39:33Z")

</div>

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