Docs navigation
Chat Bot
The Streamrun chat bot lets you control your stream with chat commands in Twitch and Kick chat. Type !streamrun start to go live, switch between your inputs, put up your BRB screen, and end the stream, without opening the dashboard. You choose whether only you can use the commands or your moderators can too. The chat bot is included with Streamrun Go and Streamrun Pro at no extra cost.
Set up the chat bot
1. Open the Chat bot page
Open the Chat bot page in the dashboard, or go to Settings and select Manage on the Chat bot row. Channels are connected to the account you have active, so switch to your organization first if the stream belongs to it.
2. Connect your channel
Select Connect Twitch or Connect Kick, sign in to the platform, and approve the access. You return to the Chat bot page with the channel connected and turned on. If the channel is already connected to another organization, the page asks before moving it. You can connect several channels and give each one its own settings.
3. Choose what the channel controls
Under Stream to control, select Streamrun Go or one of your configurations. If the configuration has more than one Switch element, you can choose the one commands use by default under Default switch. See several switches.
4. Choose who can use commands
Select Broadcaster only or Broadcaster and moderators. Commands from anyone else are ignored, so viewers cannot control your stream.
5. Save and check
Select Save after changing any setting. Type !streamrun in your chat to check that the bot answers. To pause the bot, turn the channel Off and save.
On Twitch
The bot replies from the Streamrun account with Twitch's chat bot badge. You do not need to make it a moderator.
On Kick
The bot's replies appear in your chat as bot messages. There is nothing else to set up on Kick.
Commands
The bot answers every command it accepts with a short reply in chat, such as "Switched to camera." Any other text after !streamrun shows the help, so a typo never starts or stops anything.
| 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, an input name, or the input title. |
| !streamrun brb | Shows your BRB screen. !streamrun switch brb does the same. |
| !streamrun back | Leaves BRB and returns to the input that was on before. |
| !streamrun switch-2 | On a configuration with several switches, shows the active input and the inputs of the switch with the ID switch-2. |
| !streamrun switch-2 3 | Changes the active input of switch-2. Also works with brb and back, such as !streamrun switch-2 brb. |
Short command
Each channel can add one short command, such as !srun, that works in place of !streamrun. Then !srun switch 2 and !srun brb work too. Use 2 to 20 letters, numbers, or underscores after the !. !streamrun always keeps working.
Input names
Give your inputs names that are easy to type, written like camera=1, bike=2 in the Input names field. Then !streamrun switch bike selects input 2. Without names, use the input number or the title of the element connected to the switch input. On a configuration with several switches, input names apply to the default switch.
Starting and stopping
Starting Streamrun Go uses your saved Go settings and needs an active Go subscription or trial. Starting a configuration works like the Start button in the dashboard, and the usage is billed as usual. !streamrun stop ends the stream right away, without asking to confirm.
On Streamrun Go
Commands work the same way as the buttons in Remote Control on your Streamrun Go stream.
Inputs
Input 1 is 1 and Input 2 is 2. When you have added a starting soon scene, it is 3, so !streamrun switch 1 takes you from the starting soon screen to your camera.
BRB
!streamrun brb shows your failover image or videos, or the default BRB image if you have not added your own, while your inputs stay connected. !streamrun back returns to the input that was selected. Switching to any input also ends BRB.
BRB is built in
Because BRB is a command on Go, brb cannot be used as an input name. Repeating !streamrun brb leaves BRB on rather than turning it off.
On configurations
On a configuration built in the Streamrun Editor, the bot starts and stops the configuration and controls its Switch elements. It can select any of a switch's inputs that has something connected to it, up to four. With one Switch element, commands such as !streamrun switch 2 use it without any setup.
Several switches
To control a specific switch, put its ID in the command: !streamrun switch-2 shows its active input and options, and !streamrun switch-2 3 changes it. Each switch's ID is shown next to its name in the Default switch list on the Chat bot page, and !streamrun switch lists the switches in chat when no default is set.
Choose a Default switch on the channel card for the switch you change most, such as your camera switch. Commands without an ID, like !streamrun switch 2 and !streamrun brb, then use it. Your input names apply only to the default switch, because the same number can be a different source on another switch. Other switches take input numbers and the titles of the elements connected to them.
BRB on configurations
Connect your BRB content to one of the switch inputs, for example a Video Player with your BRB video, and name that input brb. Name it in the Input names field, such as camera=1, brb=3, or give the connected element the exact title brb. !streamrun brb then switches to that input, and !streamrun back returns to the input that was on before. On another switch, add its ID, such as !streamrun switch-2 brb and !streamrun switch-2 back. Input names apply to the default switch, so on other switches give the BRB element the title brb.
The bot's access key
When you connect a channel, the bot gets its own API key for your account automatically. It is listed on the API Keys page as Streamrun chat bot (automatic). The bot uses the same REST API that is available to you.
Troubleshooting
If the bot does not reply at all, check that the channel is turned on, that the person typing is the broadcaster or a moderator when moderators are allowed, and that the command starts with !streamrun or your short command. Otherwise, the bot's reply tells you what to fix.
| Reply in chat | What to do |
|---|---|
| The stream is not running. | Switching, BRB, and back need a running stream. Start it first, from chat or the dashboard. |
| Switches: switch-1 (...), switch-2 (...). | The configuration has several switches and no default switch. Name the switch in the command, such as !streamrun switch-2 3, or choose a default switch on the channel card. |
| Unknown switch. | The configuration has no switch with that ID. Type !streamrun switch to see the switches. |
| This stream has no switch. | Add a Switch element to the configuration to switch inputs from chat. |
| Unknown input. | The name or number does not match an input, or nothing is connected to that input. Type !streamrun switch to see the options. |
| No BRB input. | On a configuration, name one switch input brb. See BRB on configurations below. |
| Streamrun Go is not available on this account. | Starting Go needs an active Go subscription or trial on the account the channel is connected to. |
| Streamrun refused the request. | Streamrun could not do what was asked, for example start a configuration without enough credits. Open the dashboard to see why. |
| The bot lost access to Streamrun. | Open the Chat bot page and save the channel again. |
Related
Remote Control
Switch inputs, toggle overlays, and manage outputs from a phone or browser.
Streamrun Go
Two inputs, failover, BRB, and the starting soon scene that the commands control.
Switch element
The element the bot controls on a configuration, with up to four inputs.
Stream chat commands
How controlling a stream from chat works, and when it helps.