Owner command overview¶
addowner
Promotes a user as an bot owner.
Usage: <prefix>addowner @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 the bot founder
- No username specified
- Username doesn't match with regex
^(?!_)\w+$
- User not found by Twitch API
- User already promoted
deleteowner
Alias: delowner
Demotes a bot owner.
Usages:
<prefix>delowner @username
<prefix>deleteowner @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 the bot founder
- No username specified
- User is not an owner
addadmin
Promotes a user as an bot admin.
Usage: <prefix>addadmin @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 owner
- No username specified
- Username doesn't match with regex
^(?!_)\w+$
- User not found by Twitch API
- User already promoted
deleteadmin
Alias: deladmin
Demotes a bot admin.
Usages:
<prefix>deladmin @username
<prefix>deleteadmin @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 owner
- No username specified
- Specified user is not even an admin
- Specified user is an owner
exit
Closes database connection, disconnects from every Twitch websocket and exits the System.
Usage: <prefix>exit
Parameter | Description |
---|---|
prefix |
Your channel specific prefix (Default: #) |
Possible errors
- Message sender is not an owner
sql
Executes sql commands in the connected database and sends database metadata.
Usage: <prefix>sql <SQL-code>
Parameter | Description |
---|---|
prefix |
Your channel specific prefix (Default: #) |
SQL-Code |
The sql code to execute |
Possible errors
- Message sender is not an owner
- No sql code specified
globalsay
Alias: gsay
Lets the bot say a message in every chat he is in.
Usages:
<prefix>gsay <message>
<prefix>globalsay <message>
Parameter | Description |
---|---|
prefix |
Your channel specific prefix (Default: #) |
message |
The message to send in the every chat |
Possible errors
- Message sender is not an owner
- No message specified
- Message contains / (slash) commands
Any problems? Join our Discord server or send me a dm on Twitch (BlockyDotJar -> 755628467).