How to create commands on Twitch?

Category: Twitch FAQ?

When broadcasting, during a match, it becomes more complicated to interact and control the chat on the Twitch channel. A good way to deal with this difficulty is to know how to create commands on Twitch, in addition to those native to the platform, it is possible to customize other codes via bot to streamline the control of the chat.

Chat codes and commands make the streamer's daily life easier

Commands on Twitch (Chat)

Commands serve various functions and are placed via chat. Let’s focus on commands for users who have some “level” of power within the Twitch channel. For common users just enter the platform support and the commands will be available.

1. Validation

To use any chat command or feature, just type the required command into the text box and press “Enter”. Please note that:

  • Type “/”: opens a list of available commands;
  • Words between “{}”: indicate a requested value. Ex: {Username} indicates who should be affected by the command;
  • Words enclosed in “[]”: indicate an optional value. Ex: [Seconds], can be indicated to designate the amount of time or interval that command will act.

Typing “/” in the chat opens the list of commands available on Twitch

2. Commands for streamers and moderators

  • USER: opens a user’s profile card, with all its information. Ex: /user {username}, it also works by clicking on the username in the chat;
  • TIMEOUT: allows temporary ban. Ex: /timeout {username} [seconds], the default is 10 minutes, but you can change the value between “[]” to customize;
  • BAN: ban of user from chat. Ex: /ban {username};
  • UNBAN: revokes user ban. Ex: /unban {username};
  • SLOW: limits the frequency of sending messages in the chat. Ex: /slow {seconds}, whoever is in the chat will only be able to send a new message after the interval time;
  • SLOWOFF: revokes the above command;
  • FOLLOWERS: Restricts chat access to users who follow the channel according to the usage time, with a limit of 3 months. Ex: /followers 2d, will only have access to the chat who is a follower for at least 2 days;
  • FOLLOWERSOFF: revokes the above command;
  • SUBSCRIBERS: only allows access to the chat for users who are subscribing to the channel. Ex: /subscribers;
  • SUBSCRIBERSOFF: revokes the above command;
  • CLEAR: clears the chat history. Ex: /clear;
  • UNIQUECHAT: prevents users from sending repeated messages. Ex: /uniquechat;
  • UNIQUECHATOFF: revokes the above command;
  • EMOTEONLY: Chat messages can only be composed of emotes. Ex: /emoteonly;
  • EMOTEONLYOFF: revokes the above command.

3. Commands for streamers and editors

  • COMMERCIAL: command for partners only, plays a commercial for all your audience. Ex: /commercial, the default duration is 30 seconds, if other sizes are available for the channel, just put between “{}” the number of seconds for the commercial. The range is 30, 60, 90, 120, 150, 180 seconds;
  • HOST: allows you to host another channel on yours. Ex: /host {channel name};
  • UNHOST: disables the previous command;
  • RAID: Sends the viewer to another live channel. Ex: /raid {channel name};
  • UNRAID: disables the previous command;
  • MARKER: adds a broadcast marker to facilitate later editing. Ex: /marker {description}. Please note, the description can be a maximum of 140 characters.

4. Streamer Commands

  • MOD: This command gives the moderator role to a user. Ex: /mod {username};
  • UNMOD: removes the moderator privilege. Ex: /unmod {username};
  • VIP: Gives the VIP status to a user. Ex: /vip {username};
  • UNVIP: removes VIP status. Ex: /unvip {username}.

How to create commands on Twitch

In addition to the basic commands mentioned above, the streamer can create more specific ones to enable actions that are necessary for your Twitch channel.

The known way to create commands and use them is through the channel Bot, which the streamer installs and releases access to.

MooBot is free and has an intuitive interface

All commands executed by the bot need a symbol coming before the command name, the most common is “!”. Chat commands are available to all users if you don’t have a restriction option in the used bot.

Creating a command

1: Open the “Commands” menu from the main menu and then open the “Custom Commands” menu;

twitch download

2: Type the name of your chat command into the “Command Name” entry at the bottom of the menu. Ex: “Twitter” if you want to use the Twitch chat command like “!Twitter”;

twitch video downloader

3: Click on the “Create” button after choosing and entering the name for the chat command;

4:In the edit menu of your new chat command, find the “Reply” entry and type the message you want the chat command to respond to on Twitch;

twitch clip downloader

5: Click on the “Save” button at the bottom of the menu.

free twitch clip downloader

Okay, now just write in the chat “!command name” and it will be inserted into your chat. The commands created can be from the simplest, such as messages, notices, advertisements from other social media, even more complex.

In this walkthrough we use MooBot, but there are several other bots to use on Twitch. The functions are similar, but it is necessary to enter the supplier page to confirm the codes accepted by the bot.

Common problems

Nothing is perfect and some problems can arise with the use of commands created and applied by bots.

The command appears for some users but not all

When your viewers use a chat command multiple times in a short amount of time, the bot will send the response as a private whisper to the viewer.

Bots do this to reduce repetitive information that creates unnecessary spam in your Twitch chat.

The command is not being posted automatically

Bots will automatically post a chat command after a few minutes and chat lines have passed. If someone uses the command in chat, or if Twitch chat is inactive for an extended period, the required minutes and chat lines will be updated.

The chat command may not be posted automatically if Twitch chat is too slow while streaming.

We now know how to create commands on Twitch, to support existing ones and improve channel productivity. If you want to dig deeper into how to use our Moobot example, the link below will contain several instructions, but only in English. Good broadcasts!