Skip to main content

Chat commands with multiple names in chat

Aliases allow your chat commands to have multiple names. This eliminates duplicate chat commands and duplicate responses.

For example, you can create a chat command named «!Social» and also trigger it in Twitch chat using the aliases «!TikTok» and «!Instagram».

This allows you to edit the response for all aliases from a single place.

Chat commands with multiple names in Twitch chatChat commands with multiple names in Twitch chat

Adding a chat command alias

Follow these steps to add a chat command alias to your Twitch chat:

  1. Open the «Commands» menu from the main menu, and then select the «Aliases» menu.The commands main menuThe commands main menu
  2. Type the name of your alias in the «Alias name» input at the bottom of the menu.Adding a chat command aliasAdding a chat command alias
  3. Click the «Create» button once you've entered a name for your alias.
  4. In the edit menu for your new alias, find the «Select the command type...» drop-down, and choose the type of chat command you want. This can be a custom or built-in chat command.
  5. Select the chat command from the «Select the command...» drop-down.Setting the chat command for the aliasSetting the chat command for the alias
  6. Click the «Create» button at the bottom of the menu.

Your alias is now available in your Twitch chat!

Creating advanced chat command aliases

You can create more advanced chat command aliases by activating the advanced options.

Follow these steps to access the advanced options:

  1. Open the «Commands» menu from the main menu, and then select the «Aliases» menu.
  2. Find your alias in the table and click the pencil icon button (labeled «Edit») in your alias's row. This will open its edit menu.
  3. Check the «Show advanced options» box at the bottom of the menu.Showing advanced optionsShowing advanced options

Using default arguments with your alias

If you activate the advanced options, the «Default arguments» input will become visible in the edit menu of an alias.

By configuring default arguments for an alias, you can use the alias like «!Alias», and Moobot will interpret it as «!Alias your default arguments...».

This allows you to create shorthand commands. For example, you can create an alias «!lol», set its default arguments to «League of Legends», and link it to the built-in chat command «!Game».

Using default arguments with your aliasUsing default arguments with your alias

When you use the alias «!lol» in Twitch chat, Moobot interprets it as «!Game League of Legends», which will set the game on Twitch to «League of Legends».

Using default arguments with your alias in Twitch chatUsing default arguments with your alias in Twitch chat