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.

LevelDescription
NONEEveryone (no restriction)
SUBSCRIBERChannel subscribers and above
VIPVIPs and above
MODModerators and above
AMBASSADORPotatBotat ambassadors and above
BROADCASTERChannel broadcaster only

Channel Settings

Configurable on your channel settings tab. These apply to all commands in your channel by default.

SettingTypeDescription
prefixtextThe prefix used for commands. Default: #
permissionchoiceMinimum permission level required to use commands globally.
online_permissionchoiceMinimum permission level required to use commands while the channel is live.
languagechoiceThe language the bot uses when responding in your channel.
force_languagebooleanIf enabled, overrides individual user language preferences and always responds in the channel language.
color_responsesbooleanIf enabled, bot responses are sent using /me (colored text).
no_replybooleanIf enabled, the bot won't mention or reply to users in responses.
silent_errorsbooleanIf enabled, permission error messages are suppressed.
online_silent_errorsbooleanIf enabled, permission error messages are suppressed while the channel is live.
offline_onlybooleanIf enabled, the bot will only respond to commands when the channel is offline.
whisper_onlybooleanIf enabled, all bot responses are sent as whispers.
online_whisper_onlybooleanIf enabled, all bot responses are sent as whispers while the channel is live.
channel_cooldownnumberGlobal cooldown in seconds between any commands in the channel (shared across all users).
user_cooldownnumberPer-user cooldown in seconds between commands (per person, per channel).
paj_bottextURL for a pajbot banphrase API. If a response would match a banphrase, it will be suppressed.
allow_bot_emote_trackingbooleanIf enabled, emote usage by known chatbots is also counted in emote stats.
ignore_droppedbooleanIf enabled, the bot won't attempt a fallback whisper when a chat message fails to send.
pyramid_responsetextCustom response sent when a user completes an emote pyramid. Supports pyramid variables.
emote_streak_responsetextCustom 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.

SettingTypeDescription
languagechoiceThe language the bot uses when responding to you in chat. Can be overridden per channel by force_language.
color_responsesbooleanIf enabled, bot responses to you are sent using /me (colored text).
no_replybooleanIf enabled, the bot won't mention or reply to you in responses.
ignore_droppedbooleanIf 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.

FieldDescription
TriggerThe keyword users type (without prefix). E.g. trigger lurk responds to #lurk. Supports the {any} wildcard.
ResponseThe message the bot sends. Supports all response variables.
Run CommandInstead of a plain response, run another bot command. The output of that command becomes the response. Supports response variables and pipe variables.
CooldownPer-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.

VariableDescription
{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 |.

VariableDescription
{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.

TokenDescription
{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.

FlagDescription
ReplyBot uses Twitch's native reply thread to respond to the triggering message.
WhisperBot sends the response as a whisper directly to the triggering user instead of in chat.
AnnounceBot uses /announce to post the response as a highlighted chat announcement.

#pyramidresponse Variables

Used in the channel's pyramid response setting. See also #pyramid.

VariableDescription
{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.

VariableDescription
{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.

VariableDescription
{user}Name of the user who just followed

#giveaway output: Variables

Available in the output message of a #giveaway.

VariableDescription
{trigger}The entry trigger/keyword for the giveaway
{duration}Human-readable duration of the giveaway