# Twitch Chat-Bot Problem

**URL:** <https://discuss.dev.twitch.com/t/twitch-chat-bot-problem/28946>\
**Category:** Insights\
**Created:** [November 6, 2020, 11:03pm UTC](https://discuss.dev.twitch.com/t/twitch-chat-bot-problem/28946 "2020-11-06T23:03:37Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![F4dedTV](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/f4dedtv/32/10633_2.png) [@F4dedTV](https://discuss.dev.twitch.com/u/F4dedTV)\
**Post date:** [November 6, 2020, 11:03pm UTC](https://discuss.dev.twitch.com/t/twitch-chat-bot-problem/28946/1 "2020-11-06T23:03:37Z")

</div>

So Today I Made A Twitch Bot On Glitch And Did Everything The Docs Said To Create A Chat Bot. So I Went To My Channel, Ran The Command “!dice” And It Didn’t Work ☹ . Any Ideas On How To Fix This, I’m Stuck…

---

<div class="post-metadata">

**Author:** ![BarryCarlyon](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/barrycarlyon/32/253_2.png) [@BarryCarlyon](https://discuss.dev.twitch.com/u/BarryCarlyon)\
**Post date:** [November 6, 2020, 11:05pm UTC](https://discuss.dev.twitch.com/t/twitch-chat-bot-problem/28946/2 "2020-11-06T23:05:03Z")

</div>

What was the returned error?

Glitch is good for “testing”

But you should export the code and run it on a server instead

---

<div class="post-metadata">

**Author:** ![F4dedTV](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/f4dedtv/32/10633_2.png) [@F4dedTV](https://discuss.dev.twitch.com/u/F4dedTV)\
**Post date:** [November 6, 2020, 11:53pm UTC](https://discuss.dev.twitch.com/t/twitch-chat-bot-problem/28946/4 "2020-11-06T23:53:13Z")

</div>

It Didnt Work 😭 @BarryCarlyon

---

<div class="post-metadata">

**Author:** ![BarryCarlyon](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/barrycarlyon/32/253_2.png) [@BarryCarlyon](https://discuss.dev.twitch.com/u/BarryCarlyon)\
**Post date:** [November 6, 2020, 11:55pm UTC](https://discuss.dev.twitch.com/t/twitch-chat-bot-problem/28946/5 "2020-11-06T23:55:28Z")

</div>

what is the returned error?

---

<div class="post-metadata">

**Author:** ![F4dedTV](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/f4dedtv/32/10633_2.png) [@F4dedTV](https://discuss.dev.twitch.com/u/F4dedTV)\
**Post date:** [November 6, 2020, 11:56pm UTC](https://discuss.dev.twitch.com/t/twitch-chat-bot-problem/28946/6 "2020-11-06T23:56:54Z")

</div>

It Wont Join MY Channel, Even Though Im Putting The Right Stuff

---

<div class="post-metadata">

**Author:** ![BarryCarlyon](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/barrycarlyon/32/253_2.png) [@BarryCarlyon](https://discuss.dev.twitch.com/u/BarryCarlyon)\
**Post date:** [November 6, 2020, 11:57pm UTC](https://discuss.dev.twitch.com/t/twitch-chat-bot-problem/28946/7 "2020-11-06T23:57:53Z")

</div>

> [@F4dedTV](#):
>
> Putting The Right Stuff

The right stuff?

---

<div class="post-metadata">

**Author:** ![F4dedTV](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/f4dedtv/32/10633_2.png) [@F4dedTV](https://discuss.dev.twitch.com/u/F4dedTV)\
**Post date:** [November 6, 2020, 11:58pm UTC](https://discuss.dev.twitch.com/t/twitch-chat-bot-problem/28946/8 "2020-11-06T23:58:34Z")

</div>

Im Coding The Bot Correctly It Just Won’t Join

---

<div class="post-metadata">

**Author:** ![BarryCarlyon](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/barrycarlyon/32/253_2.png) [@BarryCarlyon](https://discuss.dev.twitch.com/u/BarryCarlyon)\
**Post date:** [November 7, 2020, 12:16am UTC](https://discuss.dev.twitch.com/t/twitch-chat-bot-problem/28946/9 "2020-11-07T00:16:21Z")

</div>

Then it must be returning an error.

If you are debugging the raw messages, you can check what the server is returning
