OverlayThing Docs
Home
Login / Request Access
01 Get started
Introduction Quickstart Add to your stream
02 Overlays
Overlays The editor Overlay URLs Alert queue Share, export & import
02.1 Widgets
Widgets overview Alerts Variations Hype Train Text to speech Goals Countdown & subathon Chat box Data labels Counter Text, image & video
03 Chatbot
Chatbot overview Getting started Commands Variables Conditionals Recipes API commands Integrations Command API & Copy-URL Chat moderation Bot settings
03.1 Chatbot modules
Modules overview Timers Counters Quotes Chat alerts Welcome Giveaways Queue Song requests Loyalty
04 Remote Control
Overview Connect OBS Studio Connect Meld Studio Bindings & triggers Security & access
05 Monetize
Tip page Tip settings Merch with Fourthwall
06 Build your own
AI Magic Builder Custom widgets Widget SDK
07 Your data
Dashboard Stream data Chat log Moderation
08 Account
Settings & connections Export your data Import from StreamElements
09 Reference
Label tokens Keyboard shortcuts Troubleshooting
Chatbot/Commands
Chatbot

Commands.

Commands are the heart of the bot. A viewer types a trigger, the bot replies with your text, with live data filled in. Custom commands, keyword triggers, permissions, cooldowns and aliases are all here.

Custom commands

A command is a trigger plus a response. Type the trigger in chat (with your prefix) and the bot posts the response. The response can mix your own words with variables that fill in live.

twitch chat command Live
ferret_king
BOTOverlayThingJoin the ferret_king Discord at discord.gg/ferret
commandexample
Trigger:  !discord
Response: Join the $(channel) Discord at discord.gg/yourcode

Variables make a command dynamic. A !uptime command whose response is $(channel) has been live for $(uptime) posts the real elapsed time every time.

Build a command with AI

Do not want to wire up variables by hand? On the Commands page hit Build a command for me (or Build a keyword for me on the Keywords tab), describe what you want in plain language, and the AI writes a ready-to-use command for you: the trigger, a response with the right variables, a sensible permission level and cooldown. You get a preview to review and tweak before it saves.

build a commandprompts
a !hype command that hypes up the streamer
a command that suggests a random retro game to play
a keyword that posts the Discord link when someone says "discord"

The builder is honest about what it can do. If a request needs data the bot does not have, it tells you instead of quietly building a command that does nothing, and when a request needs live data it will wire up an API command for you where one fits.

Two different AI builders

This one builds chat commands. The AI Magic Builder under Build your own is a separate tool that generates overlay widgets.

Add and remove commands from chat

You and your mods can manage commands without leaving chat. These are built-in commands, available to you and your moderators by default.

CommandWhat it does
!addcommand <description>Describe a command in plain language and the bot builds it with the same AI as the dashboard button. Example: !addcommand find a cat fact api and give me a random cat fact.
!delcommand / !remcommand <name>Remove a command by name (the two are aliases). The bot works out which command you mean and deletes it, if you are allowed to.

Who can remove what

Deletion from chat is permission-gated so a mod cannot wipe commands above their station:

  • You (the broadcaster) and Lead Moderators can remove any command, including ones built from the dashboard.
  • Anyone else can remove a command only if they created it themselves, or if its creator ranked strictly below them. So a moderator can delete a command a subscriber made, but not one another moderator made.
  • A command with no recorded creator (older commands and seeded defaults) can be removed only by you or a Lead Moderator.
Lead Moderator

A Lead Moderator is Twitch's elevated moderator role. OverlayThing recognises it everywhere a mod check matters, so your most-trusted mods get the wider delete reach automatically.

Default commands

You start with a set of commands already made for you. They are normal commands you can edit, disable or delete.

CommandReplies withWho
!commandsA link to your public command list.Everyone
!uptimeHow long you have been live.Everyone
!followageHow long the viewer (or an @user) has followed.Everyone
!accountageHow old the viewer (or an @user) Twitch account is.Everyone
!watchtimeTracked watch time for the viewer (or an @user).Everyone
!titleYour current stream title.Everyone
!gameThe category you are streaming.Everyone
!soA shout-out to another streamer, plus a native Twitch shoutout.Mods
!socialsA pointer to your social links.Everyone
!discordYour Discord invite pointer.Everyone
!lurkA friendly lurk message.Everyone
Restore defaults

Deleted one you wanted back? The Commands page has a Restore defaults button that puts back any missing default without touching commands you have customised.

Keywords and match types

Most commands match the first word of a message (a prefix command). A keyword command instead watches the whole message and fires when it matches a pattern, no prefix needed. Each keyword has a match type:

Match typeFires when the message…Example
Exactis exactly the phrase, nothing more.Phrase hi bot matches only "hi bot".
Containshas the phrase anywhere in it.Phrase discord matches "what is your discord?"
Startsbegins with the phrase.Phrase gg matches "gg everyone".
Regexmatches a regular-expression pattern.Pattern h[ae]llo matches "hello" or "hallo".

Regex, plainly

A regular expression is a mini pattern language for "does this text look like X". You do not need it for most keywords, contains and starts cover the common cases. When you do, a few pieces go a long way:

PieceMeansExample
|either / orlol|lmao|haha matches any of the three.
?the thing before it is optionalcolou?r matches "color" and "colour".
[ae]any one character in the bracketsgr[ae]y matches "gray" and "grey".
\ba word boundary (so you match whole words)\bgg\b matches "gg" but not "egg".
regex keyword trigger regex Live
Pattern/h[ae]llo/i
When the pattern matches, the keyword command fires its response, no prefix needed.
Keyword matching is case-insensitive

All keyword matching ignores upper/lower case, and a long message is capped before a regex runs so a heavy pattern cannot bog the bot down.

What wins when several could match

One message fires at most one command. A prefix command (or one of its aliases) always beats a keyword. Only when no prefix command matches does the bot check keywords, in order, and the first match wins.

Permissions (user levels)

Each command has a who can use it level. A viewer must be at that level or higher to run it.

LevelWho can run it
EveryoneAnyone in chat.
SubscriberSubscribers, VIPs, mods and you.
VIPVIPs, mods and you.
ModeratorYour mods and you.
BroadcasterOnly you.

If a viewer below the level tries a command, the bot simply stays quiet.

Cooldowns

Cooldowns stop a command being spammed. There are two, and both can be set on the same command:

CooldownWhat it limits
GlobalHow often the command can run for the whole channel, regardless of who runs it.
Per userHow often a single viewer can run it. Others are unaffected.

By default mods and you bypass cooldowns entirely (you can turn that off in Bot settings). When someone hits a cooldown the bot either stays silent or posts a short "wait Ns" reply, your choice in Bot settings.

Aliases

Give a command extra trigger words that do the same thing. A !commands command with aliases cmds and help answers all three. Aliases share the command response, permission and cooldowns, and they cannot collide with another command trigger.

Public list visibility

Each command has a show in public list toggle. Public commands appear on your shareable command page at overlaything.com/c/yourname (built-in module commands from Queue, Quotes, Counters, Music and a live giveaway keyword show there too). Turn it off for internal or mod-only commands you would rather not advertise.

You can also assign your custom commands to specific categories on the public list, so they group under their own headings on the command page instead of sitting in one long list.

Unknown-command suggestions

Turn on suggestions in Bot settings and when a viewer mistypes (like !uptme) the bot can reply "Did you mean !uptime?". It is rate-limited per viewer so it never spams.

Previous Getting started Next Variables
On this page
Ask the docs
Have a question?
Thinking it through...
Answer
Get an answer instantly; our model is trained on every feature of our streaming suite.
ESC
Get started
More than overlaysOverlayThing is an all-in-one toolkit for your Twitch channel: a visual overlay … Get started From zero to liveThe fastest path to a working overlay on your stream. Sign in, build something, … Get started Add to your streamOne overlay, one URL, one browser source. OverlayThing works with any streaming … Get started
Overlays
OverlaysYour overlays live on the Overlays page, a gallery of every canvas you have buil… Overlays The editorWhere overlays are built. A canvas in the middle, your layer stack on the left, … Overlays Overlay URLsEach overlay has its own private URL. Add it to your streaming software once and… Overlays Alert queueWhen events pile up (a gifted-sub train, a hype raid), you usually want alerts t… Overlays Share, export & importMove overlays and individual widgets between your own overlays, back them up as … Overlays
Widgets
Widgets overviewWidgets are the building blocks of an overlay. Some fire on an event and leave (… Widgets AlertsThe moment something happens, an alert fires on screen with motion, sound and yo… Widgets VariationsOne event, different reactions. Variations let a single alert play a bigger vers… Widgets Hype TrainWhen a Hype Train rolls on your channel, OverlayThing can fire an on-screen aler… Widgets Text to speechHave alerts read messages aloud: a tip note, a resub message, a redemption. Text… Widgets GoalsA progress bar with a target. It fills itself as events come in, and you can cel… Widgets Countdown & subathonTwo timer widgets. A countdown runs down to a time or for a set duration. A suba… Widgets Chat boxPut your Twitch chat on stream, great for handheld, IRL or face-cam layouts wher… Widgets Data labelsSmall live readouts that keep your channel numbers on screen: latest follower, l… Widgets CounterPut a live number on your overlay: deaths, wins, fails, anything you keep a runn… Widgets Text, image & videoThe plain building blocks. Use them for backgrounds, frames, logos, panels and l… Widgets
Chatbot
The chatbotA Twitch chat bot built into OverlayThing: custom commands, timers, counters, qu… Chatbot Getting startedTurn the bot on, make it a moderator, and pick your command prefix. Three small … Chatbot CommandsCommands are the heart of the bot. A viewer types a trigger, the bot replies wit… Chatbot VariablesVariables are $( … ) tokens you drop into a command response. They fill in with … Chatbot ConditionalsConditionals let one command react differently to different viewers and situatio… Chatbot RecipesCopy-ready command responses for the trickier variables: shoutouts, weather, dic… Chatbot API commandsPower-user territory. Wire a command to an external API and pull a live value in… Chatbot IntegrationsBuilt-in connections to outside services that add ready-made variables. Today th… Chatbot Command API & Copy-URLFire bot commands and module actions from outside chat: a Stream Deck button, a … Chatbot Chat moderationWhen the bot is a moderator it can keep chat clean automatically: tunable spam f… Chatbot Bot settingsThe channel-wide behavior of the bot: your prefix, how it replies, how cooldowns… Chatbot
Chatbot modules
ModulesThe bot is built from modules you switch on one at a time. Turn on only what you… Chatbot modules TimersPost recurring messages on a schedule: rules, your socials, a sponsor plug. Time… Chatbot modules CountersTrack a number from chat: deaths, wins, fails, anything you want to tally live.… Chatbot modules QuotesA searchable quote book your chat builds with you, one memorable line at a time.… Chatbot modules Chat alertsPost a chat message when someone follows, subscribes, resubs, gifts, cheers or r… Chatbot modules WelcomeGreet people automatically: first-time chatters, returning regulars, and incomin… Chatbot modules GiveawaysRun a giveaway and draw a winner from chat, by keyword entry or passive presence… Chatbot modules QueueLet viewers line up to play with you. They join, you pull people up in order.… Chatbot modules Song requestsViewers request YouTube songs by name or link and the bot builds a play queue, w… Chatbot modules LoyaltyTrack how long your viewers watch, so you can spot and reward your most loyal re… Chatbot modules
Remote Control
Remote ControlDrive your local OBS Studio or Meld Studio straight from OverlayThing. Switch sc… Remote Control Connect OBS StudioAdd the Remote Control URL as a dock or browser source, enable the OBS WebSocket… Remote Control Connect Meld StudioAdd the blank Remote Control source to every Meld scene. There is no password to… Remote Control Bindings & triggersA binding is one or more actions plus the trigger that fires them. Build them on… Remote Control Security & accessThe Remote Control URL is a key to your streaming software, and your OBS passwor… Remote Control
Monetize
Your tip pageA branded donation page viewers can reach from a single link in your panels or c… Monetize Tip settingsEverything behind your tip page: the payment connection, your branding, the amou… Monetize Merch with FourthwallConnect your Fourthwall shop and merch sales fire alerts on stream, the same way… Monetize
Build your own
AI Magic BuilderDescribe the widget you want in plain language and OverlayThing builds a styled,… Build your own Custom widgetsFor when you want to break the mold. Write your own HTML, CSS and JavaScript, re… Build your own Widget SDKThe API your custom widgets use to receive live events and persist state. It is … Build your own
Your data
DashboardYour home base. The numbers that matter at a glance, a chart to spot trends, and… Your data Stream dataThe numbers behind your overlay. Labels, goals and leaderboards all read from he… Your data Chat logA searchable archive of your chat, events and moderation actions. Look up what a… Your data ModerationEvery chat message, tip note and alert message runs through a moderation pipelin… Your data
Account
Settings & connectionsYour account, your connected services, and the controls that protect your access… Account Export your dataYour data is yours. From Settings, under Data and privacy, you can take it with … Account Import from StreamElementsAlready set up elsewhere? Bring your overlays, alert settings, goals and history… Account
Reference
Label tokensTokens are {placeholders} you drop into alert text, label templates and goal lab… Reference Keyboard shortcutsThe editor is built for the keyboard. These are the ones worth learning.… Reference TroubleshootingQuick fixes for the things that trip people up most.… Reference
↑↓ navigate ⏎ open esc close