Skip to main content

Chat Command

Runs on: Shared. Runs on the backend or in a chatbox overlay.

Fires when a viewer types a specific command in your chat, such as !hello or !dice.

Outputs​

NameTypeDescription
UserUserThe viewer who typed the command.
MessageMessageThe full chat message that triggered the command.

Configuration​

  • Command: The command to listen for (for example !hello). Viewers must type it exactly.

Example​

Build a !shoutout command that reads the message argument and shouts out the mentioned user. Add an Is Moderator check so only mods can use it.