# Chat Events Pick which Twitch events DomDimaBot announces in your chat—like follows, subs, raids, Bits, and ad breaks—and customize every message. Source: https://docs.domdimabot.com/chat-events/ Language: en Documentation index: https://docs.domdimabot.com/llms.txt When something happens on your Twitch channel—a new follow, a raid, a Bits cheer, an ad break—Chat Events lets DomDimaBot announce it in chat automatically. Each event has its own card that you can turn on, turn off, and rewrite to fit your channel's voice. DomDimaBot listens through Twitch's EventSub notification system behind the scenes, so you never have to configure EventSub manually. * **Permissions:** Only the channel owner or an admin with the events **Manage** permission can make changes. Other admins have view-only access. * **Full access required:** Chat events only start working after you activate the bot. Until then, the page displays a **Needs full access** notice with an **Activate Bot** button. See [Getting Started](https://docs.domdimabot.com/getting-started/index.txt). * **Plan access:** Certain events require Premium or Pro; locked cards show an **Upgrade** button. ## Set up an event 1. Go to **Modules → Chat Events**. At the top you'll see how many events are active, organized into **Community moments** and **Your stream**. 2. Open any event card and fill out its **Configuration** fields. Available options vary by event—check the **What each event can do** table below. 3. Click **Save Changes**. 4. Flip the card's toggle on. If your channel doesn't have a Twitch subscription for that event yet, the dashboard sets one up automatically. Want to take an event off completely? Open its configuration and click **Delete Event**. [![DemoStreamer’s Chat Events configuration for a subscription alert, with its message and settings](https://docs.domdimabot.com/guides/commands/chat-events-en.png)](https://docs.domdimabot.com/guides/commands/chat-events-en.png) *Example subscription event setup for DemoStreamer.* ## Pause, delete, or mute an event * **Off** (toggling the switch off) pauses the announcement while keeping your Twitch subscription active, so you can re-enable it anytime. * **Delete Event** removes the Twitch subscription altogether—except for Poll ended and Prediction ended. You can always set the event up again later. * **Stream online** and **Stream offline** cannot be switched off or deleted; if you want them quiet, simply clear their message box. Leaving any event's message blank silences it in chat. ## What each event can do Drop these variables into an event's message and the bot will swap in live details when the event fires: | Event | Variables | Extra settings | | ------------------- | ----------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | | Follow | `$(user)` | | | Stream online | `$(twitch.channel)`, `$(twitch.game)` | | | Stream offline | `$(twitch.channel)` | | | Incoming raid | `$(raid.channel)`, `$(raid.login)`, `$(raid.viewers)` | Minimum viewer count (smaller raids are skipped) and a clip toggle. | | Outgoing raid | `$(raid.channel)`, `$(raid.login)`, `$(raid.viewers)` | Logs channels you raid in your dashboard. The chat message is optional—even with it empty, the raid is still tracked. | | Ad break | `$(ad.time)` (seconds) | Optional end-of-break message with its own toggle. | | Subscription | `$(user)`, `$(sub.tier)` | | | Gifted subscription | `$(user)`, `$(sub.tier)`, `$(gifted.user)` | | | Resubscription | `$(user)`, `$(sub.tier)`, `$(sub.months)` | | | Bits (cheer) | `$(user)`, `$(cheer.amount)`, `$(cheer.message)` | [Bits rules](https://docs.domdimabot.com/chat-events/index.txt#bits-rules) for custom behavior by cheer size. | | Hype Train | `$(hypetrain.level)`, `$(hypetrain.progress)`, `$(hypetrain.end)` | | | Shoutout received | `$(shoutout.channel)`, `$(twitch.channel)` | | | Chat Notifications | `$(user)`, `$(twitch.streak)`, `$(twitch.modiversary)` | Watch streaks and moderator anniversaries, each with an independent toggle and message. | Stick to the placeholders shown inside each field—if a variable isn't listed there, don't expect that event to support it. Incoming and outgoing raids live on separate cards with independent settings. Tracking an outgoing raid won't trigger incoming raid messages, clips, or shoutouts. If you want protection against follow bots during incoming raids, head to [Follow Defense](https://docs.domdimabot.com/follow-defense/index.txt). ## Poll and prediction ended You'll find **Poll ended** and **Prediction ended** under **Your stream**. Both are included on the Free plan and require full Twitch access, including poll and prediction permissions. **Poll ended** fires once whenever a poll wraps up with a result—whether the timer runs out, you end it early on Twitch, or you run `$(end.poll)`. It won't fire if the poll is canceled with `$(cancel.poll)` or deleted on Twitch. Default message: ```bash *($(poll.tied) ? "The poll ended in a tie!" : "${$(poll.result)} won the poll!") ``` **Prediction ended** fires once when you lock in the winning outcome, and stays silent if the prediction is canceled. Default message: ```bash $(prediction.result) won the prediction! ``` Both messages run as full command scripts, so you can call any AST function—for instance, loading tied options into a roulette wheel and spinning it. The `poll.*` and `prediction.*` functions pull the final counts from the event that just finished. If the message is blank or the card is off, nothing gets sent. Deleting either card only turns it off: its message is kept, and the underlying Twitch subscription stays alive because Overlay Studio's poll and prediction widgets share it. If you already run the poll widget, **Poll ended** will show up enabled with a blank message until you write one. Check out the [tie-breaker recipe](https://docs.domdimabot.com/commands/advanced/recipes/index.txt#poll-results) for a ready-to-use example. These subscriptions are not on by default. They get activated when you enable them here, when you add Overlay Studio's poll or prediction widgets, or automatically the first time a command calls a poll or prediction read function. ## Bits rules Want a 69-Bit cheer to say one thing and a 1,000-Bit cheer to trigger a completely different message and alert? Open the **Cheers** card, click **Configure**, and scroll below the default message to set up Bits rules. Every rule defines three things: * **Which cheers:** an exact amount (69 Bits), a range (100–499 Bits), or a minimum threshold (1,000+ Bits). * **What the bot says:** your default message, a custom message just for that rule, or nothing at all. * **Overlay alert:** on or off. When enabled, it plays your default Bits alert until you assign that rule its own design in [Overlay Studio](https://docs.domdimabot.com/overlay-studio/index.txt#bits-looks). Each cheer triggers at most one rule. If multiple rules match, the most specific one wins: an exact number beats any range, and a tighter range beats a broader one. List order doesn't affect priority, and disabled rules are ignored. Cheers that don't match any rule fall back to your default message and default alert. Enter any number into **Try an amount** to preview which rule matches and what will happen in chat and on your overlay. * Adding, editing, toggling, or deleting a rule saves immediately—**Save changes** only saves the default message. * Bits rules sync directly with Overlay Studio, so edits on either page update both. * Available on every plan, with up to 50 per channel. * View-only channel admins can inspect rules but cannot edit them. * Even if the Cheers chat event is switched off, your rules still drive overlay alerts—nothing is sent to chat. ## Plan requirements Every event card displays the plan tier it needs. The server verifies your plan each time you create or update a subscription. ## Events the bot listens for Out of the box, DomDimaBot subscribes to chat messages, follows, stream online and offline, raids, Hype Train, received shoutouts, ad breaks, subscriptions, gifted subscriptions, resubscriptions, Bits, channel and user updates, and AutoMod held messages. Bits run on Twitch's current `channel.bits.use` event; any legacy `channel.cheer` or `channel.bit.use` subscriptions still map to the same Bits card. Not every underlying subscription gets a card here—only events listed in the bot's catalog appear on this page. ## Troubleshooting * **An event is missing:** Only events in DomDimaBot's catalog get a card. Having a raw Twitch subscription doesn't add one automatically. * **Enabling fails:** Confirm you have the events Manage permission, your plan covers that event (the error message names the required tier), and your Twitch authorization hasn't expired. * **The event is on but nothing appears in chat:** Make sure the message box isn't empty and double-check any filters—incoming raids below your minimum viewer count are skipped on purpose. * **A Bits rule doesn't fire:** Check that the rule is enabled, then test the cheer value in **Try an amount**. A narrower rule covering the same number takes priority, and a rule set to **Say nothing** won't post in chat.