Advertisement
HawkAutumn

Dubs Bot

Nov 25th, 2015
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.05 KB | None | 0 0
  1. Contact Hawkie on PS/Smogon with any suggestions/problems. The command list is below; informational commands like @poke @viablemoves etc will PM the reply to a regular user, and broadcast when used by someone with auth, also some commands are restricted to certain staff levels.
  2.  
  3. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4.  
  5.  
  6. Basic Commands
  7.  
  8. Some commands are basic (info, command settings, etc) referring to basic features.
  9.  
  10. @time - Current time for Bot
  11. @uptime - Time since the last bot restart
  12. @seen [user] - Latest data from an user
  13. @say [text] - Force to say something
  14. @lang [lang] - Set the language of the room
  15. @settings [cmd], [rank] - Configure command permissions
  16. Dynamic Commands
  17.  
  18. Dynanic commads are commands saved in a JSON, used for commands that are continuously changing, like forum links or usage stats. Commands for using, creating, modifying and deleting dynamic commands are the following:
  19.  
  20. @dyn [cmd] - To call a dynamic command
  21. @wall [cmd] - To call a dynamic command (with announce / wall)
  22. @temp [text] - Set temp var, to create a command
  23. @setcmd [cmd] - Create or modify a command, with temp data previosly set
  24. @setalias [alias], [cmd] - Set an alias of an existent dynamic command
  25. @delcmd [cmd] - Delete a command
  26. @dyncmdlist - Get the list of dynamic commands
  27. Developing Commands
  28.  
  29. Commands for developing (some of these are dangerous)
  30.  
  31. eval or js - Execute arbitrary JavaScript
  32. evalbattle - Execute arbitrary JavaScript in a battle context
  33. send - Send anything to the server
  34. custom - Send anything to current room
  35. join [room1], [room2]... - Join chat rooms
  36. leave - Leave chat rooms
  37. joinrooms [official/public/all] - Join all rooms
  38. ignore [user] - Bot will ignore an user
  39. unignore [user] - Stop ignoring an user
  40. reload [commands/config/features/laguages] - Hotpatch source files
  41. updategit - Fast forward from git repo
  42. kill - End the process
  43. Misc Commands
  44.  
  45. Other commands for multiple features
  46.  
  47. @pick [option1], [option2], ... - Choose between multiple options
  48. @randomanswer - Get a random answer
  49. @usage - Get a link to Smogon official usage stats
  50. @help - Get a link to this guide
  51. @youtube [on/off] - Enable / Disable YouTube link recognition
  52. Commands for quotes / jokes
  53.  
  54. This is a database of jokes or quotes that can be modified through commands. Then, users can get a random one using quote or joke command.
  55.  
  56. @quote or joke - Get a random quote / joke
  57. @addquotes [http://hastebin.com/raw/example] - Add quotes from a Hastebin document
  58. @temp [text] - Set temp var, to create or modify a quote / joke
  59. @setquote [id] - Create or modify a quote / joke using the temp var
  60. @delquote [id] - Remove a quote by Id
  61. @viewquote [id] - View a quote by Id
  62. @viewquotes - Upload quote list to Hastebin
  63. Pokemon Commands
  64.  
  65. Commands for getting pokemon info.
  66.  
  67. @poke or randompokemon - Get a random pokemon
  68. @gen [poke] - Get pokemon, item, etc generation
  69. @viablemoves [poke] - Get viable moves from a Pokemon
  70. @heavyslam [poke], [poke] - Get heavyslam base power
  71. @priority [poke] - Get priority moves
  72. @boosting [poke] - Get boosting moves
  73. @recovery [poke] - Get recovery moves
  74. @hazards [poke] - Get hazards moves
  75. Moderation Commands
  76.  
  77. Mod Settings: Use mod (room - optional), [moderation], [on/off] to enable or disable moderations.
  78.  
  79. Autoban
  80.  
  81. @ab [user], [user]... - Add users to blacklist
  82. @unab [user], [user]... - Remove users from blacklist
  83. @rab [regex] - Regex ban
  84. @unrab [regex] - Remove a regex ban
  85. @vab - View blacklist
  86. Zero Tolerance
  87.  
  88. @0tol [user] - Checks if an user is in the zero tolerance list
  89. @0tol add, [user1]:[level1], [user2]:[level2]... - Add users to zero tolerance list
  90. @0tol delete, [user1], [user2]... - Removeusers from zero tolerance list
  91. @vzt - Upload zero tolerance list to hastebin
  92. Banwords and InapropiateWords: Saying this words means automute. InapropiateWords requires that words are separated.
  93.  
  94. @banword [phrase] - Add a banword
  95. @unbanword [phrase] - Remove a banword
  96. @vbw - View banword list
  97. @inapword [phrase] - Add an inappropriate word
  98. @uninapword [phrase] - Remove an inappropriate word
  99. @viw - View inapropiate words list
  100. Joinphrases: Configure what phrase Bot says when certain user joins a room. This can be spammable, much caution!
  101.  
  102. @joinphrase [enable/disable] - Enable or disable joinphrases for a room
  103. @joinphrase set, [user], [phrase] - Set a joinphrase
  104. @joinphrase delete, [user] - Remove a joinphrase
  105. @vjf - View joinphrases list
  106. Note: Excepted users can use moderation commands in format command [roomid]Arguments to set moderation through PM or other room. Example: ab [lobby]spammer1, spammer2
  107.  
  108. Battle Commands
  109.  
  110. Commands for battle feature
  111.  
  112. Developing
  113.  
  114. @reloadteams - Hotpatch teams
  115. @reloadbattle - Hotpatch battle modules
  116. move - Force a custom move
  117. Challeges
  118.  
  119. @blockchallenges - Block Challenges
  120. @unblockchallenges - Stop blocking challenges
  121. @chall [user], [format] - Send a challenge
  122. @challme [format] - Send a challenge to yourself
  123. Tournaments Joining
  124.  
  125. @jointours [on/off] - Enable or disable tour joining
  126. @jointour - Join a tournament
  127. @leavetour - Leave a tournament
  128. @checktour - Check the tournament (If the bot does not challenge or something)
  129. Ladder
  130.  
  131. @searchbattle [format] - Search a battle and returns the link
  132. @ladderstart [format] - Start laddering (checks every 10 seconds)
  133. @ladderstop - Stop laddering
  134. Teams
  135.  
  136. @team add, [name], [format], [http://hastebin.com/raw/example] - Add a team to Bot teams list
  137. @team delete, [name] - Remove a team from Bot teams list
  138. @team get, [id] - Get a team in exportable format
  139. @team check, [id], (user) - Challenge with a specific team
  140. @teamslist - Upload teams list to Hastebin to view it.
  141. Permissions in Battle Rooms
  142.  
  143. @battlesettings [permission], [rank] - Change permissions for battle rooms
  144. Tournaments Commands
  145.  
  146. Commands for Tournaments feature
  147.  
  148. @tour - Start a tournament
  149. @tour tier=example, timer=30, users=64, dq=1.5, type=elimination - Start a tournament with custom and optional parameters
  150. @tourhelp - Help for tour command
  151. @tourend - Force end a tornament
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement