Stream Chat Commands for Twitch and Kick
Type a command in your Twitch or Kick chat to start or stop your stream, switch inputs, or put up a BRB screen. You decide whether only you can use the commands or your moderators can too. The Streamrun chat bot works with Streamrun Go and Streamrun Pro at no extra cost, with no OBS or bot software to keep running.
How chat commands control a live stream
A chat command is a message that starts with an exclamation mark, such as !brb, which a bot treats as an instruction instead of conversation. The bot account is connected to your channel and reads every message. When one matches a command, the bot checks who sent it, because anyone in chat can type the same words. Twitch and Kick tag each message with the sender's role, so the bot can accept commands from the broadcaster and moderators and ignore everyone else.
Once a command passes that check, the bot changes something in the streaming setup: it switches the camera, starts or ends the stream, or puts up a "be right back" screen. Bots usually reply in chat so the person who typed the command knows it worked.
A command in chat
For example !brb from a moderator
The bot reads it
Connected to your channel
It checks the sender
Broadcaster or moderator?
It acts on the stream
Switch, start, stop, or BRB
Common ways to set up chat commands
What a command can change depends on what the bot is connected to. There are three common setups.
A bot controlling OBS on your own computer
A chat bot connects to OBS Studio over its WebSocket interface and switches scenes, starts or stops the stream, or shows a BRB scene. For IRL streams, the phone sends its feed to the home computer, which runs OBS and streams to the platform.
+ Full control of OBS scenes, sources, and plugins.
− The home computer and its internet connection have to stay up for the whole stream, and the bot and scenes are yours to set up and maintain.
A bot controlling a cloud OBS
The same setup on a cloud server instead of a home computer, either a hosted cloud OBS service or a server you run yourself. Tools such as NOALBS add chat commands for switching OBS scenes, alongside automatic switching when the bitrate drops.
+ No home computer needed, and you keep full OBS scenes.
− A server to pay for, plus OBS scenes, the bot, and its settings to set up and maintain.
A streaming server with built-in commands
The streaming server between your encoder and the platforms includes the bot. Commands act directly on the server's inputs and fallback screens, with no OBS in between.
+ Nothing to install or host, and it works with any encoder, including a phone app.
− Commands are limited to what the server supports, rather than any OBS scene or source you build.
Why chat control matters for IRL streaming
On an IRL stream the streamer is moving, the encoder is usually a phone, and there is often a moderator watching chat. That makes chat a practical place to control the stream from.
Your hands are busy
When you are walking, cycling, or holding a gimbal, stopping to open a control panel takes you out of the stream. A short command is quicker, and a moderator can send it for you.
The phone is the encoder
With a streaming app on a phone sending the video, there is no OBS window to click. Chat works from any phone or computer, so it can serve as the control panel wherever you are.
Moderators can step in
When you need to step away or deal with something off camera, a moderator can put the stream on BRB and bring it back when you return, without you touching your phone.
How Streamrun fits into this
Streamrun is a cloud streaming engine between your encoder and the platforms, so it can switch inputs and show a BRB screen without OBS. The Streamrun chat bot connects to your Twitch or Kick channel and turns chat commands into those actions. It runs on Streamrun, so there is nothing to install or keep running, and it is included with Go and Pro at no extra cost.
- Twitch and Kick. Connect one channel or several, each with its own settings, and point them at the same stream.
- Go or a configuration. A channel controls your Go stream, or a Switch element in a configuration built in the Streamrun Editor.
- Any encoder. OBS, a phone app, or a hardware encoder streams to Streamrun as usual. The commands act on Streamrun, not on the encoder.
- BRB from your failover content. On Go, BRB shows the same image or videos that cover a dropped connection with failover.
Setup, every command, and what each reply means: chat bot documentation.
Commands
Every command starts with !streamrun, or a short command you choose. The bot answers each one it accepts with a short reply in chat, such as "Switched to camera."
| Command | What it does |
|---|---|
| !streamrun | Shows the stream status and the commands. |
| !streamrun start | Starts the stream, unless it is already running. |
| !streamrun stop | Ends the stream immediately. |
| !streamrun switch | Shows the active input and the inputs you can switch to. |
| !streamrun switch 2 | Changes the active input. Use the input number or a name, such as !streamrun switch camera. |
| !streamrun brb | Shows the BRB screen. !streamrun switch brb does the same. |
| !streamrun back | Leaves BRB and returns to the previous input. |
Short command
Each channel can add one short command, such as !srun, that works in place of !streamrun. Then !srun switch 2 works too. Use 2 to 20 letters, numbers, or underscores after the exclamation mark. !streamrun always keeps working.
Input names
Give inputs names that are easy to type, written camera=1, bike=2 on the Chat bot page. Then !streamrun switch bike selects input 2. The input number always works, and so does the title of the element connected to the switch input.
On Go and on Pro configurations
The commands are the same on both. What the input numbers mean, and where the BRB screen comes from, depends on what the channel controls.
Go
- Inputs 1, 2, and 3.
1and2are Input 1 and Input 2.3is your Stream starting soon scene, once you have added one. - BRB is built in.
!streamrun brbshows your failover image or videos, or the default BRB image, the same as BRB in Remote Control. Because it is built in,brbcannot be used as an input name. - Back to your input.
!streamrun backreturns to the input that was selected. Switching to any input also turns BRB off. Typingbrbagain leaves BRB on. - Starting.
!streamrun startuses your saved Go settings and needs an active Go subscription or trial.
Pro configurations
- Your Switch elements. The bot controls the Switch elements in the configuration, each with up to four inputs. With several, choose a default switch on the channel card, or name one in the command, such as
!streamrun switch-2 3. Only inputs that have something connected can be selected. - BRB is an input named brb. Name one switch input
brbon the Chat bot page, or give the element connected to it that exact title, such as a Video Player with your BRB video. - Back to your input.
!streamrun backreturns to the input that was active before BRB. - Starting and stopping.
!streamrun startlaunches the configuration like the Start button, and Pro usage is billed as usual.!streamrun stopstops its running instances.
Build your own controls
The bot uses the Streamrun REST API to read a running stream's switches, change the active input, and turn BRB on and off on Go. With Pro, you can call the same endpoints to build your own controls, such as a Stream Deck button or a custom bot. See the API documentation.
Set up the chat bot in three steps
Everything happens in the Streamrun dashboard. There is nothing to install on your phone or computer.
Open the Chat bot page
In the dashboard, go to Settings and select Manage on the Chat bot row. Channels connect to the account that is active, so switch to your organization first if the stream belongs to it.
Connect Twitch or Kick
Select Connect Twitch or Connect Kick, sign in to the platform, and approve. You return to the Chat bot page with the bot already on. On Twitch the bot replies from the Streamrun account and does not need to be a moderator. On Kick its replies appear as bot messages.
Choose the stream and who can use it
On the channel card, choose the stream to control: Go or one of your configurations, plus a default switch if the configuration has more than one. Choose who can use commands, add input names or a short command if you want them, and save. Type !streamrun in your chat to check that the bot answers.
Every setting and the bot's troubleshooting replies: chat bot documentation.
Who can control your stream
Anyone in chat can type a command, so the bot only acts on commands from the people you choose. Viewers cannot control your stream.
You or your moderators
Each channel has a "Who can use commands" setting: Broadcaster only, or Broadcaster and moderators. Stop ends the stream immediately, so allow moderators only if you trust them with that.
Everyone else is ignored
Commands from other viewers are ignored, so they cannot start, stop, or switch your stream.
Typos show the help
Any other text after !streamrun shows the help instead of acting, so a typo like !streamrun stop now never ends the stream.
Replies never repeat chat
The bot confirms each command it accepts with a short reply of its own, such as "Switched to camera." It never repeats what someone typed.
The bot gets its own API key when you connect a channel, listed on the API Keys page as "Streamrun chat bot (automatic)". Streamrun stores only its hash. Deleting the key disconnects the bot from all your channels and erases their chat bot settings, and when someone leaves your organization, the channels they connected are disconnected.
Frequently asked questions
Can moderators control my stream from chat?
Yes, if you allow it. Each connected channel has a "Who can use commands" setting with two options: Broadcaster only, or Broadcaster and moderators. With moderators allowed, they can start and stop the stream, switch inputs, and show BRB with the same commands you use. Commands from anyone else are ignored without a reply.
Does the chat bot work with YouTube chat?
No. The Streamrun chat bot works in Twitch and Kick chat. If your stream also goes to YouTube, you can still control it by typing the commands in your Twitch or Kick chat.
Do I need to make the bot a moderator on Twitch?
No. On Twitch the bot replies from the Streamrun account with Twitch's chat bot badge, and it works without moderator status. On Kick, its replies appear in your chat as bot messages.
Can I put my stream on BRB from chat?
Yes. On Streamrun Go, !streamrun brb shows your failover image or videos, or the default BRB image, and !streamrun back returns to the input you had selected. On a configuration, name one switch input brb, for example a Video Player with your BRB video, and the same two commands switch to it and back.
Do I need OBS or any software running?
No. The commands act on your Streamrun stream, not on OBS scenes, so there is no bot, plugin, or extra computer to keep running. Your encoder can be OBS, a phone app such as Moblin or IRL Pro, or a hardware encoder, and the commands work the same way.
Can I use a shorter command than !streamrun?
Yes. Each channel can add one short command, such as !srun, that works in place of !streamrun, so !srun switch 2 and !srun brb work too. It can be 2 to 20 letters, numbers, or underscores after the exclamation mark, and !streamrun keeps working alongside it.
Does the chat bot cost extra?
No. It is included with Streamrun Go and Streamrun Pro at no extra cost. Starting a configuration from chat launches it the same way as the Start button in the dashboard, so Pro usage is billed as usual.
Related
Chat bot documentation
Setup, every command, and what each of the bot's replies means.
Device Switching
Connect several devices and switch which one is live without ending the stream.
Live Stream Failover
Switch to a backup or a fallback screen automatically when your feed drops, with no command needed.
Streamrun Go
The ready-made setup with two inputs, failover, BRB, and a starting soon scene for the commands to control.
NOALBS Alternative
When chat commands and automatic fallback on a streaming server can replace an OBS and NOALBS setup.
Remote Control
Switch inputs, show BRB, and manage outputs from a phone or browser.
Control your stream from chat
Try Streamrun free for 14 days. No credit card required.