Documentation
Permissions, settings, custom commands and channel features, and how to set them up.
Overview
PotatBotat is a multi-platform chat bot supporting Twitch, Kick, and Discord. It provides commands, emote tracking, custom commands, moderation utilities, and channel automation features.
The dashboard lets broadcasters and users configure channel and personal settings, create custom commands, and view emote statistics.
Permission Levels
Used in channel settings to restrict who can use commands. Levels are ordered from least to most privileged.
| Level | Description |
|---|---|
NONE | Everyone (no restriction) |
SUBSCRIBER | Channel subscribers and above |
VIP | VIPs and above |
MOD | Moderators and above |
AMBASSADOR | PotatBotat ambassadors and above |
BROADCASTER | Channel broadcaster only |
Channel Settings
Configurable on your channel settings tab. These apply to all commands in your channel by default.
| Setting | Type | Description |
|---|---|---|
prefix | text | The prefix used for commands. Default: # |
permission | choice | Minimum permission level required to use commands globally. |
online_permission | choice | Minimum permission level required to use commands while the channel is live. |
language | choice | The language the bot uses when responding in your channel. |
force_language | boolean | If enabled, overrides individual user language preferences and always responds in the channel language. |
color_responses | boolean | If enabled, bot responses are sent using /me (colored text). |
no_reply | boolean | If enabled, the bot won't mention or reply to users in responses. |
silent_errors | boolean | If enabled, permission error messages are suppressed. |
online_silent_errors | boolean | If enabled, permission error messages are suppressed while the channel is live. |
offline_only | boolean | If enabled, the bot will only respond to commands when the channel is offline. |
whisper_only | boolean | If enabled, all bot responses are sent as whispers. |
online_whisper_only | boolean | If enabled, all bot responses are sent as whispers while the channel is live. |
channel_cooldown | number | Global cooldown in seconds between any commands in the channel (shared across all users). |
user_cooldown | number | Per-user cooldown in seconds between commands (per person, per channel). |
paj_bot | text | URL for a pajbot banphrase API. If a response would match a banphrase, it will be suppressed. |
allow_bot_emote_tracking | boolean | If enabled, emote usage by known chatbots is also counted in emote stats. |
ignore_dropped | boolean | If enabled, the bot won't attempt a fallback whisper when a chat message fails to send. |
pyramid_response | text | Custom response sent when a user completes an emote pyramid. Supports pyramid variables. |
emote_streak_response | text | Custom response sent when a user ends an emote streak. Supports streak variables. |
User Settings
Configurable under your account's settings. These apply to you personally across all channels.
| Setting | Type | Description |
|---|---|---|
language | choice | The language the bot uses when responding to you in chat. Can be overridden per channel by force_language. |
color_responses | boolean | If enabled, bot responses to you are sent using /me (colored text). |
no_reply | boolean | If enabled, the bot won't mention or reply to you in responses. |
ignore_dropped | boolean | If enabled, the bot won't attempt a fallback whisper to you when a message fails to send. |
Custom Commands
Custom commands let you define your own chat triggers and responses. Manage them on your channel Commands section.
| Field | Description |
|---|---|
| Trigger | The keyword users type (without prefix). E.g. trigger lurk responds to #lurk. Supports the {any} wildcard. |
| Response | The message the bot sends. Supports all response variables. |
| Run Command | Instead of a plain response, run another bot command. The output of that command becomes the response. Supports response variables and pipe variables. |
| Cooldown | Per-command cooldown in seconds before the command can be used again. |
Response Variables
Available in the response and run command fields of a custom command.
| Variable | Description |
|---|---|
{user} | Triggering user's display name |
{channel} | Channel login name |
{N} (e.g. {0}, {1}) | Nth word of the triggering message (0-indexed, after the command trigger) |
{N+} (e.g. {0+}, {1+}) | Everything from the Nth word onwards |
#pipe Variables
Used when chaining commands with a pipe |.
| Variable | Description |
|---|---|
{N} / {N+} | Nth word / rest from previous command's output |
{[N]M} / {[N]M+} | Mth word from the output of the Nth command in the chain (0-indexed) |
{^N} / {^N+} | Nth word / rest from the parent command's raw input |
{^^N} / {^^N+} | Nth word / rest from the grandparent command's raw input |
Command Name Wildcard
Used in the trigger field of a command to match any prefix character.
| Token | Description |
|---|---|
{any} | Matches any prefix character. E.g. {any}test triggers on !test, #test, $test, etc. |
Command Flags
Optional flags that change how the bot delivers a custom command's response.
| Flag | Description |
|---|---|
Reply | Bot uses Twitch's native reply thread to respond to the triggering message. |
Whisper | Bot sends the response as a whisper directly to the triggering user instead of in chat. |
Announce | Bot uses /announce to post the response as a highlighted chat announcement. |
#pyramidresponse Variables
Used in the channel's pyramid response setting. See also #pyramid.
| Variable | Description |
|---|---|
{emote} | Emote name used in the pyramid |
{width} | Max width of the completed pyramid |
{user} | User who completed the pyramid |
{time} | Time it took to complete |
#emotestreak Variables
Used in the channel's emote streak response setting. See also #emotestreak.
| Variable | Description |
|---|---|
{emote} | Emote that was streaked |
{count} | Number of messages in the streak |
{user} | User who broke the streak |
{time} | Duration of the streak |
{users} | Number of unique users who participated |
#followresponses Variable
Used in the channel's follow response (#followresponses), which
is the automation named follow and can be changed like any other under Automations. The older ${name} still works there.
| Variable | Description |
|---|---|
{user} | Name of the user who just followed |
#giveaway output: Variables
Available in the output message of a #giveaway.
| Variable | Description |
|---|---|
{trigger} | The entry trigger/keyword for the giveaway |
{duration} | Human-readable duration of the giveaway |