Skip to main content

Variables

info

All supported variables are listed here in the Fossabot documentation!

Variables offer inline, dynamic text replacement for Fossabot responses.

Usage

Use the $() syntax within your chat responses to insert dynamic data.

For example, $(sender) allows you to mention the name of the user triggering the action, you may choose to invoke this variable within a command such as Hello, $(sender)!. See the below example for more details.

Example

A command with the following configuration:

Example of variable usage in chat

...would produce the following output in Twitch chat.

Example of variable output in chat