Twitch

How to add a chat bot to your Twitch channel

A chat bot answers the same questions for you ("what's your Discord?"), keeps spam out while you're focused on the game, and runs giveaways without a spreadsheet. Here's how to add one and what to set up first.

· 2 min read

What a chat bot does for a small stream

When you're streaming to a handful of viewers, every message matters and you can't moderate and play at the same time. A bot covers the repetitive parts:

  • Commands like !discord, !socials or !lurk that answer instantly.
  • Spam filters that remove "cheap viewers" bots and link spam before you notice.
  • Timers that remind chat about your Discord, but only when chat is active.
  • Giveaways where viewers type a keyword to enter.

Step 1: add the bot

Go to Eclipse and press Add to Twitch, then sign in with your streaming account and approve. There's nothing to download and nothing to keep open: Eclipse runs on our servers, so it's in your chat whenever you are.

Eclipse chats through Twitch's official API, so it shows Twitch's Chat Bot badge, and it makes itself a moderator in your channel so filters and timeouts work.

Step 2: make your first commands

Type these in your own chat (or use the Commands page on the dashboard, which has a live preview):

  1. 1!cmd add !discord Join the community: discord.gg/yourinvite
  2. 2!cmd add !lurk {user} is lurking. Enjoy!
  3. 3!cmd add !deaths Deaths so far: {count}, which counts up every time it's used.

Variables fill themselves in: {user}, {touser}, {uptime}, {game}, {followage}, {random:1-100} and more. Lock a command to subs or mods with !cmd level, and stop spam with !cmd cooldown !discord 30s. The custom commands guide lists every option.

Step 3: check the spam filters

Scam spam, links, blocked words, flooding and mass mentions are on from the start. Type !filter to see what's on, and turn others on as you need them, like !filter caps on or !filter emotes on.

Want a softer touch? !filter caps warn deletes the first message and only times out a second offence within 10 minutes. Mods and the broadcaster are never filtered.

Step 4: add a timer (but not too many)

!timer add socials 15m Follow me on X: x.com/you posts every 15 minutes. Eclipse only posts timers while you're live and after at least 5 chat messages since the last post, so it never talks to an empty room.

Step 5: tell your Discord when you go live

If you have a Discord server, link it to Eclipse through Oblivion, our Discord bot, for go-live alerts, a stream summary when you end, raids and giveaway winners. Only the role you pick is pinged, and never @everyone. The Discord alerts guide takes about two minutes.

Does the bot read or keep my chat?

It has to read each message as it arrives to run commands and filters, but Eclipse never stores or logs chat messages. Everything in this guide is free.

Questions people ask

Do I need to keep a program open while I stream?

No. Eclipse runs on our servers. Add it once with your Twitch account and it's in your chat whenever you are.

Can my mods manage the bot?

Yes. Mods can manage commands, filters, timers and giveaways from chat with !cmd, !filter, !timer and !giveaway.

Is Eclipse free?

Yes. Every Eclipse feature is free to use.

Features mentioned here

More from the blog

All posts →

Add Eclipse to your Twitch chat

Free, one click, nothing to download. Set it up from the dashboard or from chat.

Add OblivionFree Discord botAdd to Discord