Admin command overview¶
say
Lets the bot say a message in the current chat.
Usage: <prefix>say <message>
Parameter | Description |
---|---|
prefix |
Your channel specific prefix (Default: #) |
message |
The message to send in the current chat |
Possible errors
- Message sender is not an admin
- No message specified
- Message contains / (slash) commands without having owner permissions
- Message contains / (slash) commands with owner permission, but sender isn't a mod or the broadcaster at the specified chat
- Message contains / (slash) commands with owner permission, but bot isn't a mod or the broadcaster at the specified chat
spam
Lets the bot spam a certain amount of messages in the current chat.
Usage: <prefix>spam <amount> <message>
Parameter | Description |
---|---|
prefix |
Your channel specific prefix (Default: #) |
amount |
The amount of messages to spam in the current chat (Can't be higher than 100 without owner permissions) |
message |
The message to spam in the current chat |
Possible errors
- Message sender is not an admin
- No number specified
- First parameter not numeric
- Number bigger than 100 without having owner permissions
- No message specified
- Message contains / (slash) commands without having owner permissions
- Message contains / (slash) commands with owner permission, but sender isn't a mod or the broadcaster at the specified chat
- Message contains / (slash) commands with owner permission, but bot isn't a mod or the broadcaster at the specified chat
usersay
Alias: usay
Lets the bot say a message in a specific chat.
Usages:
<prefix>usay @username <message>
<prefix>usersay @username <message>
Parameter | Description |
---|---|
prefix |
Your channel specific prefix (Default: #) |
username |
The name of the user (Case-Insensitive, Can contain the @ character) |
message |
The message to send in the specified chat |
If a channel specific (global) command is specified in the message, the output from the command will be sent.
For example:
#usay blockydotjar #ping
Prefix needs to match the prefix of the specified channel
For example: A user set the prefix to lolxd!
, than the command must look like this:
#usay blockydotjar lolxd!ping
A message like this will be sent in chat 'blockydotjar':
ppPong Chat-Ping: 171ms FeelsLateMan I'm active in 20 chats Okay Uptime: 0d 0h 14m 41s FeelsOldMan
This is possible with every command, expect for admin and owner commands.
Possible errors
- Message sender is not an admin
- No username specified
- No message specified
- Username doesn't match with regex
^(?!_)\w+$
- User not found by Twitch API
- Message contains / (slash) commands without having owner permissions
- Message contains / (slash) commands with owner permission, but sender isn't a mod or the broadcaster at the specified chat
- Message contains / (slash) commands with owner permission, but bot isn't a mod or the broadcaster at the specified chat
- Message contains owner or admin commands
userspam
Alias: uspam
Lets the bot spam a certain amount of messages in the specified chat.
Usages:
<prefix>uspam @username <amount> <message>
<prefix>userspam @username <amount> <message>
Parameter | Description |
---|---|
prefix |
Your channel specific prefix (Default: #) |
username |
The name of the user (Case-Insensitive, Can contain the @ character) |
amount |
The amount of messages to spam in the specified chat (Can't be higher than 100 without owner permissions) |
message |
The message to spam in the specified chat |
Possible errors
- Message sender is not an admin
- No username specified
- No number specified
- Second parameter not numeric
- Number bigger than 100 without having owner permissions
- No message specified
- Username doesn't match with regex
^(?!_)\w+$
- User not found by Twitch API
- Message contains / (slash) commands without having owner permissions
- Message contains / (slash) commands with owner permission, but sender isn't a mod or the broadcaster at the specified chat
- Message contains / (slash) commands with owner permission, but bot isn't a mod or the broadcaster at the specified chat
crossban
Alias: cb
Lets the bot ban a user in every chat, he is mod in.
Usages:
<prefix>cb @username <reason?>
<prefix>crossban @username <reason?>
Parameter | Description |
---|---|
prefix |
Your channel specific prefix (Default: #) |
username |
The name of the user (Case-Insensitive, Can contain the @ character) |
reason |
The reason for the ban (Optional) |
Possible errors
- Message sender is not an admin
- No username specified
- Username doesn't match with regex
^(?!_)\w+$
- User not found by Twitch API
- You want to crossban yourself
- User is already banned in every chat the bot is mod in
crossunban
Alias: cub
Lets the bot unban a user in every chat, he is mod in.
Usages:
<prefix>cub @username
<prefix>crossunban @username
Parameter | Description |
---|---|
prefix |
Your channel specific prefix (Default: #) |
username |
The name of the user (Case-Insensitive, Can contain the @ character) |
Possible errors
- Message sender is not an admin
- No username specified
- Username doesn't match with regex
^(?!_)\w+$
- User not found by Twitch API
- You want to crossunban yourself
- User isn't banned in any chat the bot is mod in
addglobalcommand
Aliases: addgcmd, addglobalcmd
Adds a global command that can be used in every chat, the bot currently is in.
The global command name can't have the same name as already existing (built in/global) commands.
Usages:
<prefix>addgcmd <command-name> <command-message>
<prefix>addglobalcmd <command-name> <command-message>
<prefix>addglobalcommand <command-name> <command-message>
Parameter | Description |
---|---|
prefix |
Your channel specific prefix (Default: #) |
command-name |
The name for the global command (Can contain prefix, Can't contain the ' character, Can't start with a slash) |
command-message |
The message for the global command (Can't contain the ' character, Can't start with a slash) |
Possible errors
- Message sender is not an admin
- No command name specified
- No command message specified
- Global command already exists
- Built in bot command with specified global command name already exists
- Command name only contains the ' character
- Command message only contains the ' character
- Command name starts with the / character
- Command message starts with the / character
editglobalcommand
Aliases: editgcmd, editglobalcmd
Edits a global command message.
Usages:
<prefix>editgcmd <command-name> <new-command-message>
<prefix>editglobalcmd <command-name> <new-command-message>
<prefix>editglobalcommand <command-name> <new-command-message>
Parameter | Description |
---|---|
prefix |
Your channel specific prefix (Default: #) |
command-name |
The name of the global command |
new-command-message |
The new message for the global command (Can't contain the ' character, Can't start with a slash) |
Possible errors
- Message sender is not an admin
- No command name specified
- No command message specified
- Global command doesn't exists
- New command message only contains ' character
- New command message starts with the / character
- New command message matches exactly with the old one
deleteglobalcommand
Aliases: delgcmd, delglobalcmd, delglobalcommand, deleteglobalcmd
Deletes a global command.
Usages:
<prefix>delgcmd <command-name>
<prefix>delglobalcmd <command-name>
<prefix>delglobalcommand <command-name>
<prefix>deleteglobalcmd <command-name>
<prefix>deleteglobalcommand <command-name>
Parameter | Description |
---|---|
prefix |
Your channel specific prefix (Default: #) |
command-name |
The name of the global command |
Possible errors
- Message sender is not an admin
- No command name specified
- Global command doesn't exists
filesay
Aliases: fs
Sends every line of the specified textfile link to the chat.
Usages:
<prefix>fs <link>
<prefix>filesay <link>
Parameter | Description |
---|---|
prefix |
Your channel specific prefix (Default: #) |
link |
A valid http(s) link to a textfile |
Possible errors
- Message sender is not an admin
- No link specified
- Link doesn't start with http:// or https://
- Server returned a bad status code
- Content-Type Header doesn't equal to text/plain
- Server returned empty response
Any problems? Join our Discord server or send me a dm on Twitch (BlockyDotJar -> 755628467).