Triggers
With triggers, the bot replies automatically when someone writes certain words in chat or redeems a power-up.
Create a trigger
New Trigger opens the form. Most triggers only need three things:
- Trigger: Chat message (default) or Power-up.
- When someone writes in chat …: the words or phrases the bot reacts to. Press Enter, type a comma or leave the field to turn an entry into a chip; duplicates are ignored. At least one word is required, up to 50 are possible.
- … the bot replies: the reply, up to 500 characters. The buttons below the field insert variables like
{user}at the cursor.
Create saves the trigger. Everything else sits under Advanced settings and has defaults that suit most triggers.
Reply and variables
Chat triggers offer {user} (display name), {login} (login name), {channel} (your channel), {message} (the whole message) and {bits} (bits in the message). Only these placeholders are replaced – $(…) variables from custom commands don't work in trigger replies.
Play a sound
Below the reply, a trigger can also play a sound from your media library, with its own volume – for chat messages and power-ups alike. The sound plays through the sound player in OBS; how to set it up is explained on the Bot Commands page, section Sounds. With a sound, the reply can stay empty, and the trigger then only plays the sound. The cooldowns apply to the sound as well. In the list, triggers with a sound are marked with 🔊.
Mods need the Sounds permission for this. Without it, they don't see the sound fields, and a trigger that plays a sound is locked for them with a note.
Power-up as the trigger
With Power-up, the trigger replies when a viewer redeems a specific power-up. Under When someone redeems this Power-up … you pick one of the three Twitch power-ups (Gigantify an Emote, Celebration, Message Effect) or one of your own power-ups. There are no words here.
Replies can also use {title} (the power-up's name) and {input} (the text of the redemption). {input} is only filled by a custom power-up that asks for input – it stays empty for the Twitch power-ups. {message} holds the same text as {input} here.
Under Advanced settings, Min. bits of the Power-up counts the cost of the power-up – useful for the Twitch power-ups, where the viewer picks the price. Roles can't be restricted here, because Twitch doesn't include chat badges with a redemption.
Power-up triggers require affiliate or partner status. If you switch an existing chat trigger over to power-up, its words are deleted when you save.
Advanced settings
A dot on the button shows that something here differs from the defaults.
- Name (optional): how the trigger appears in the list. If you leave it empty, the name is taken from the first word or the power-up, with a number added if needed. Each name can only exist once per channel.
- How should it match?: per word contains (default), is exactly, starts with, ends with or RegEx (advanced), plus Whole word only and Match upper/lower case. With Whole word only,
hellono longer fires insidehelloworld; the selected match type no longer matters then – all that counts is that the word stands on its own. You can also edit a word here afterwards, e.g. to add a comma. - Cooldown for everyone (sec) and Cooldown per person (sec): 5 and 15 seconds by default.
- Active: always, only while live or only offline.
- Min. bits in the message (optional): the trigger only reacts to messages with at least that many bits.
- Who can trigger it? and Who can't?: allow or exclude roles (Subscribers, VIPs, Moderators, Broadcaster). The default is Everyone.
RegEx
RegEx is for advanced patterns. Write the pattern without slashes, e.g. ^https?:// or hello|hi. Match upper/lower case applies to RegEx too; Whole word only isn't available there. Invalid or risky patterns can't be saved. Every RegEx pattern runs with a time limit. If patterns get stuck three times, the bot pauses your channel's RegEx rules for 24 hours – plain words and rules without RegEx keep working.
Templates
Templates (bottom right on a PC) gives you ready-made triggers: Discord and Social media (Info), Greeting, Good night and Lurk (Community), plus Thanks for the celebration and Giant emote (Power-ups).
Use fills in the form including suitable cooldowns; Greeting, Good night and Lurk are only active while you're live. Adjust the words and the reply – your Discord link, for example – then click Create.
Test a message
As soon as you have a chat trigger, the Test a message field appears above the list. Type a chat message and you'll see which trigger would react, with which reply. It checks your active chat triggers; changes to a trigger you have open count before you save them. If the message starts with a !command, the test tells you the bot ignores it for triggers. The test doesn't check roles, cooldowns, stream status or minimum bits.
Manage triggers
Each trigger in the list shows its name, its words or power-up and the start of its reply. The switch in front turns it on or off and saves right away. Click a trigger to open the form – with Save, Cancel (discards your changes) and Delete.
How execution works
- Words are matched against the message (whitespace is normalized).
- At most one trigger fires per message. The same applies per redemption for power-ups.
- More specific triggers are checked first (RegEx, exact, longer words, whole word).
- Messages that start with a command (e.g.
!so) are ignored. - The bot's own messages are ignored.
- Dedupe: the same message is processed only once.
Notes
/timeoutand/bancannot be used as replies here. Use the word filter for that.- Each channel can have up to 200 triggers, each with up to 50 words or phrases of at most 191 characters.