-
Notifications
You must be signed in to change notification settings - Fork 20
Commands List
This guide is an index with all static commands present in Showdown Chatbot. A static command is a command present by default in the bot and also cannot be removed without edditing the source files or disabling the modules. These commands give Pokemon Showdown users the capacity to interact with the bot and administrators to control it without accesing the control panel (note that there are a lot of configuration options only avaliable using the control pannel).
For each command, this guide gives the usage (or different usage modes), the description of what the command does, the permission required to use the command (* means that the command can be used by anyone via private message, but requires certain permission to make the bot reply in a chat room) and the command type (A means Action Command, C means Configuration command, I means Information Command and D means development command)
Note: Arguments with <>
means they are obligatory. Arguments with []
means they are optional.
Usage | Description | Permission | |
---|---|---|---|
version |
Gets the bot version | info* | I |
time |
Gets the bot current time | info* | I |
uptime |
Gets the uptime (the time since the bot was started) | info* | I |
contime |
Gets the connection time (the time since the bot connected to the server) | info* | I |
seen <user> |
Gets the last time an user was seen by the bot | - | I |
alts <user> |
Gets the alts of an user. Note: There alts are known via renames. Full alts (Ip base) are only available via the /alts server command only for the staff members | alts | I |
dyncmdlist |
Gets the dynamic commands list. | info* | I |
joinrooms <room>, [...] |
Command to make the bot joins rooms | joinroom | A |
leaverooms <room>, [...] |
Command to make the bot leaves rooms | joinroom | A |
custom <text> |
Replies with a custom message, no restrictions | send | A |
send <room>, <message> |
Sends a custom message | send | A |
sendpm <user>, <message> |
Sends a custom private message | send | A |
say <text> |
Replies with a custom message, but commands are not allowed | say | A |
exec <cmd> |
Executes a command | - | A |
execdyn <cmd> |
Executes a dynamic command | - | A |
wall <cmd> |
Executes a command and replies with an /announce message | wall* | A |
setalias <alias>, <command> |
Creates an alias for an existing command | commands | C |
rmalias <alias> |
Removes an alias | commands | C |
temp <text> |
Changes the temporal variable | commands | C |
setcmd <cmd> |
Creates a text dynamic command using the content of the temporal variable | commands | C |
setindexcmd <cmd> |
Creates an empty index dynamic command | commands | C |
setsubcmd <index command>, <subcommand> |
Creates a subcommand for an existing index command using the content of the temporal variable | commands | C |
rmcmd <cmd> |
Removes a dynamic command | commands | C |
rmsubcmd <index command>, <subcommand> |
Removes a subcommand | commands | C |
setcontrolroom <room>, <target room> |
Sets a control room | commands | C |
rmcontrolroom <room> |
Removes a control room | commands | C |
grant <permission>, <rank> |
Configures a permission | grant | C |
set <permission>, <rank> |
Configures a permission in a room | set | C |
lang <language> |
Changes the language of a chat room | set | C |
eval <javascript> |
Executes arbitrry javascript. Note: Only available on debug mode | (Only excepted users) | D |
hotpatch |
Reloads the commands source files | (Only excepted users) | D |
parserignore <user> |
Locks an user from using the bot commands | (Only excepted users) | D |
parserunignore <user> |
Unlocks an user from using the bot commands | (Only excepted users) | D |
null |
Does nothing. Only for development purposes | - | D |
Usage | Description | Permission | |
---|---|---|---|
hazards <pokemon> |
Gets the hazards moves a pokemon can learn | pokemon* | I |
translate <pokemon / item / ability / move / nature>, [origin language], [target language] |
Translates pokemon stuff | translate* | I |
usagelink |
Gets the smogon usage stats link | usage* | I |
usagetop <tier>, [top/high/mid/low] |
Gets the top usage of a tier (via Smogon) | usage* | I |
usage <pokemon>, [tier], [top/high/mid/low] |
Gets the usage stats of a pokemon (via Smogon) | usage* | I |
usagedata <pokemon>, [tier], [top/high/mid/low] |
Shows usage data of a Pokemon (via Smogon) | usagedata* | I |
Usage | Description | Permission | |
---|---|---|---|
regdate [user] |
Gets the register date of an user | regdate* | I |
regtime [user] |
Gets the old of an user accoount | regdate* | I |
autoconfirmedhelp [user] |
Provides help of the autoconfirmed status of an account | - | I |
pick <option1>, <option2>, [...] |
Randomly picks between 2 or more options | random* | A |
poke |
Gets a random pokemon | randpoke* | A |
hashpoke <text> |
Gets a pseudo-random pokemon using a text | random* | A |
randomanswer |
Gets a random anwer (helix, 8ball command) | randomanswer* | A |
randomformat |
Gets a random format | random* | A |
randomdata |
Shows a random !dt (Pokemon, moves, items, abilities) | random* | A |
Usage | Description | Permission | |
---|---|---|---|
quote |
Gets a random quote | quote* | A |
searchquote <text> |
Gets a random quote previously filtered | quote* | A |
listquotes |
Gets the link to the quotes list. Note: Requires to set the server url in the administration options in the control panel. | quote* | A |
joke |
Gets a random joke | joke* | A |
searchjoke <text> |
Gets a random joke previously filtered | joke* | A |
listjokes |
Gets the link to the jokes list. Note: Requires to set the server url in the administration options in the control panel. | joke* | A |
addquote <text> |
Adds a quote | editquote | C |
rmquote <text> |
Removes a quote | editquote | C |
addjoke <text> |
Adds a joke | editjoke | C |
rmjoke <text> |
Removes a joke | editjoke | C |
Usage | Description | Permission | |
---|---|---|---|
anagrams <games>, [answer time] |
Craetes a game of anagrams | games | A |
hangman [max fails] |
Creates a game of hangman | games | A |
texthangman |
Creates a game of hangman (text mode) | games | A |
pokeanagrams <games>, [answer time] |
Craetes a game of poke-anagrams | games | A |
pokehangman [max fails] |
Creates a game of poke-hangman | games | A |
textpokehangman [max fails] |
Creates a game of poke-hangman (text mode) | games | A |
trivia <games>, [answer time] |
Craetes a game of trivia | games | A |
kunc <games>, [answer time] |
Creates a game of kunc | games | A |
ambush <max players> |
Craetes a game of ambush | games | A |
blackjack <max players> |
Creates a game of blackjack | games | A |
passbomb <max players> |
Creates a game of pass-the-bomb | games | A |
players |
Gets the players list of an active game | games* | I |
end |
Terminates a game | games | A |
Usage | Description | Permission | |
---|---|---|---|
viewblacklist |
Returns the balcklist of the current chatroom. | viewblacklist | I |
viewblacklisthastebin |
Returns the balcklist of the current chatroom via Hastebin. | viewblacklist | I |
blacklist <user>, [...] |
Add users to the blacklist | blacklist | C |
unblacklist <user>, [...] |
Removes users from the blacklist | blacklist | C |
Usage | Description | Permission | |
---|---|---|---|
viewbannedwords |
Gets the banned words list | viewbanwords | I |
viewbannedwordshastebin |
Gets the banned words list via Hastebin | viewbanwords | I |
viewzerotolerance |
Gets the zero tolerance list | viewzerotol | I |
viewzerotolerancehastebin |
Gets the zero tolerance list via Hastebin | viewzerotol | I |
checkzerotolerance <room>, <user> |
Checks is an user is in the zero tolerance list | checkzerotol | I |
banword <word>, [banned / inap / insult], [punishment], [std / strict], [std / ignorenicks] |
Adds a banned word | banword | C |
unbanword <word> |
Removes a banned word | banword | C |
addzerotolerance <user>, [min / low / normal / high / max] |
Adds an user to the zero tolerance list | zerotolerance | C |
rmzerotolerance <user> |
Removes an user from the zero tolrance list | zerotolerance | C |
setmoderation <moderation type>, <on / off> |
Configures the moderation filters | moderation | C |
modexception <rank> |
Configures the moderation exception | moderation | C |
Usage | Description | Permission | |
---|---|---|---|
tour <format>, [elimination/rr] |
Creates a tournament with default parameters | tour | A |
tour <format>, [elimination/rr], [Auto start time (mins)], [Autodq (mins)], [Max users] |
Creates a tournament custom parameters | tour | A |
tour start |
Starts the tournament (if it does not do it automatically) | tour | A |
Usage | Description | Permission | |
---|---|---|---|
toursrank [user], [room] |
Gets the ranking of an user in the leaderboards system | toursrank* | I |
top [room] |
Gets the Top5 of a room in the leaderboards system | toursrank* | I |
tourleaderboards [room] |
Gets the laederboards Top100 of a room. Note: Requires to set the server url in the administration options in the control panel. | toursrank* | I |
toursrankconfig [room] |
Gets the points configuration for a room | toursrank* | I |
official |
Sets a tournament official | tourofficial | C |
unofficial |
Sets a tournament unofficial | tourofficial | C |
Usage | Description | Permission | |
---|---|---|---|
chall <user>, <format> |
Challenges an user | chall | A |
cancelchallenge |
Cancels current challenge request | chall | A |
searchbattle <format> |
Search a battle in ladder and returns the link | searchbattle | A |
evalbattle <javascript> |
Executes arbitrry javascript in a battle context. Note: Only available on debug mode | (Only excepted users) | D |
Usage | Description | Permission | |
---|---|---|---|
htmlcmdlist |
Gets html-box commands list. | info* | I |
htmlcmd <command> |
Executes a html-box command if exists | htmlboxcmd* | A |
Usage | Description | Permission | |
---|---|---|---|
gitban <user> |
Adds an user to the github blacklist | gitban | C |
gitunban <user> |
Removes an user from the github blacklist | gitban | C |
Usage | Description | Permission | |
---|---|---|---|
starttimer <minutes>, <seconds> |
Starts a timeout | timer | A |
stoptimer |
Stops the timeout | timer | A |
repeat <minutes>, <message> |
Starts repeating a message | repeat | A |
clearrepeat <message> |
Clears the repeating message | repeat | A |
showrepeats |
Shows list of repeating messages | repeat | I |
clearallrepeats |
Clears all repeating messages | repeat | A |
Usage | Description | Permission | |
---|---|---|---|
joinphrase get, <user> |
Gets the join-phrase of an user | joinphrases | I |
listjoinphrases |
Gets the list of join-phrase for the current room | joinphrases | I |
listjoinphraseshastebin |
Gets the list of join-phrase for the current room via hastebin | joinphrases | I |
joinphrase set, <user>, <phrase> |
Sets a join-phrase | joinphrases | C |
joinphrase delete, <user> |
Removes a join-phrase | joinphrases | C |
Usage | Description | Permission | |
---|---|---|---|
auctionstaus |
Gets the auction status | info* | I |
auctionteams |
Gets the teams list | info* | I |
auctionplayers |
Gets the players list | info* | I |
auctionfreeplayers |
Gets the list of players without team | info* | I |
auctionteaminfo <team> |
Gets all the information about a team (money, captains and players) | info* | I |
auctionreport |
Gets a report with all the information about the auction | auction | I |
nominate |
Nominates a player | - | A |
passturn |
Use it to pass the nomination turn | - | A |
bid |
Use it to bid | - | A |
endbid |
Forces the bid timer to end (for emergency times) | auction | A |
makeauction |
Enables players-Auction in a chat room | makeauction | C |
auction team add, <team name> |
Adds a team | auction | C |
auction team remove, <team name> |
Removes a team | auction | C |
auction players add, <player>, [...] |
Adds players | auction | C |
auction players remove, <player>, [...] |
Removes players | auction | C |
auction mincost, <money> |
Sets the nomination cost | auction | C |
auction minplayers, <num. players> |
Sets the number of players to complete a team | auction | C |
auction timer, <seconds> |
Sets the bid timer | auction | C |
auction turn, <team> |
Sets the turn to a team | auction | C |
auction stop |
Use it to stop the auction (for emergency times) | auction | C |
auction setmoney, <team>, <money> |
Sets the money of a team | auction | C |
auction assign player, <team>, <player>, <cost> |
Assigns a player to a team | auction | C |
auction free player, <player> |
Undoes a player assignation | auction | C |
auction captain, <team>, <user> |
Sets the team captain | auction | C |
auction sub-captain, <team>, <user> |
Sets the team sub-captain | auction | C |
Usage | Description | Permission | |
---|---|---|---|
groupchatvoice <user> |
Promotes to voice in a groupchat | groupchats | A |
groupchatdriver <user> |
Promotes to driver in a groupchat | groupchats | A |
groupchatmod <user> |
Promotes to moderator in a groupchat | groupchats | A |
groupchatdeauth <user> |
Removes the rank in a groupchat | groupchats | A |
Showdown ChatBot is distributed under the terms of the MIT License