# Chat bot cannot receive or send messages

**URL:** <https://discuss.dev.twitch.com/t/chat-bot-cannot-receive-or-send-messages/5297>\
**Category:** Chat and IRC\
**Created:** [March 19, 2016, 12:38am UTC](https://discuss.dev.twitch.com/t/chat-bot-cannot-receive-or-send-messages/5297 "2016-03-19T00:38:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Satokaheni](https://avatars.discourse-cdn.com/v4/letter/s/c67d28/32.png) [@Satokaheni](https://discuss.dev.twitch.com/u/Satokaheni)\
**Post date:** [March 19, 2016, 12:38am UTC](https://discuss.dev.twitch.com/t/chat-bot-cannot-receive-or-send-messages/5297/1 "2016-03-19T00:38:44Z")

</div>

Hello I’ve just created my own chat bot to keep a log of certain users chats for a research project. I can connect and send messages to my own channel but when I try to get messages from another channel I can’t receive them. I can’t even send a message to any other channel but my own. It was working yesterday so I’m confused why today it stopped working and my bot isn’t globally banned because if I log into my bots account I can manually type in other people’s channels.  
My bot can connect to the irc channel and joins the channel but isn’t receiving or sending messages. Here’s a sample output:

```
:tmi.twitch.tv 001 satokaheni :Welcome, GLHF!
:tmi.twitch.tv 002 satokaheni :Your host is tmi.twitch.tv
:tmi.twitch.tv 003 satokaheni :This server is rather new
:tmi.twitch.tv 004 satokaheni :-
:tmi.twitch.tv 375 satokaheni :-
:tmi.twitch.tv 372 satokaheni :You are in a maze of twisty passages, all alike.
:tmi.twitch.tv 376 satokaheni :>
:satokaheni!satokaheni@satokaheni.tmi.twitch.tv JOIN #incontroltv
:satokaheni.tmi.twitch.tv 353 satokaheni = #incontroltv :satokaheni
:satokaheni.tmi.twitch.tv 366 satokaheni #incontroltv :End of /NAMES list
Sent: PRIVMSG #incontroltv :Hello Chat
Join: Success

```

And I receive no messages after that. If I look at the viewer list my bot is in the viewer list it’s just not receiving and the hello chat I send doesn’t show up in the users chat.

Thanks for any help.

---

<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:** [March 19, 2016, 1:28am UTC](https://discuss.dev.twitch.com/t/chat-bot-cannot-receive-or-send-messages/5297/2 "2016-03-19T01:28:56Z")

</div>

Make sure you are using “[irc.chat.twitch.tv](http://irc.chat.twitch.tv)” as your server instead of “[irc.twitch.tv](http://irc.twitch.tv)”.

> [@PSA: Chat servers are going to migrate to AWS EC2 servers](https://discuss.dev.twitch.com/t/psa-chat-servers-are-going-to-migrate-to-aws-ec2-servers/4877):
>
> We’ve spent considerable amount of time over the last half year preparing to migrate our chat system to AWS EC2 servers. We’re finally ready to start the transition (and identify any misconfigurations / new scaling concerns in the new environment). As this will affect third-party developers significantly, I want to a) make you aware b) ask for suggestions to make this transition less painful for you Our current rollout plans are as follows: Migrate channels one-by-one on a whitelist basis…

---

<div class="post-metadata">

**Author:** ![Satokaheni](https://avatars.discourse-cdn.com/v4/letter/s/c67d28/32.png) [@Satokaheni](https://discuss.dev.twitch.com/u/Satokaheni)\
**Post date:** [March 19, 2016, 2:01am UTC](https://discuss.dev.twitch.com/t/chat-bot-cannot-receive-or-send-messages/5297/3 "2016-03-19T02:01:22Z")

</div>

Thank you so much. I just started learning about twitch api and chat bots a few days ago so I was not aware of that change. The link was also very helpful. It works perfectly now.

Again thank you so much.

---

<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:** [April 18, 2016, 2:01am UTC](https://discuss.dev.twitch.com/t/chat-bot-cannot-receive-or-send-messages/5297/4 "2016-04-18T02:01:24Z")

</div>

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