Advertisement
RakkirTheWolf

OathyBot Commands

Mar 21st, 2017 (edited)
3,535
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.84 KB | None | 0 0
  1. This page outlines the commands for OathyBot (oatsngoats channel).
  2. This bot is written and managed by Rakkir_.
  3. Most commands are subject to anti-spam (even for whitelisted people!).
  4.  
  5. For those curious, the bot is written in C# and hosted on a Linux VM on a Google Server.
  6.  
  7. The bot will automatically wake itself up and start responding to messages and posting oats advertisements when it detects chat activity.
  8. After five minutes of no chat activity the bot will put itself to sleep and stop posting.
  9.  
  10. The bot understands Twitch User permission levels, and views them in this heirarchy:
  11. 1. Broadcaster/Editors/GOD(me)
  12. 2. Admin
  13. 3. Moderator
  14. 4. VIP
  15. 5. Subscriber
  16. 6. User
  17.  
  18. By default, any message that the bot detects has a 1/500 chance to be CORNed. IF the message has more than one word in it.
  19. This means that it will replace one letter in the sentence with the word CORN and append an oatsFarmer to the end, then repost it.
  20.  
  21. The bot also has some special privileges because it is a twitch "known_bot". These include:
  22. -Increases number of unique recipients of whispers
  23. -Increases burst capacity of sending whispers (ie per second and per minute max)
  24. -Increases chat rate limit from 20 to 50 in a 30 second window.
  25. -Small tweaks to various filters where they apply to automated chat messages (ie spam filtering)
  26.  
  27. Commands are case sensitive.
  28.  
  29. !commands
  30. Links to this page.
  31.  
  32. Hard-coded:
  33. User Level Commands:
  34.  
  35. !help
  36. Expected command structure: !help <command name>
  37. Used to get help with commands, tells you what the command does/the expected format (if you have permission).
  38.  
  39. !sacrifice
  40. Expected message structure: !sacrifice
  41. Sacrifice the user to Phantoon for five minutes to satiate his bloodthirst
  42.  
  43. !sacrifices
  44. Expected message structure: !sacrifices
  45. Tells how many users have sacrificed themselves to the blood god Phantoon today.
  46.  
  47.  
  48. Moderator Commands:
  49. (all user commands)
  50. (all subscriber commands)
  51. (all VIP commands))
  52.  
  53. !pepegaspeak <your text here>
  54. Any text included after the !pepegaspeak command will be read in, altered to be pepega, and output by the bot again.
  55.  
  56. !shoutout <user>
  57. If oats gets hosted or raided, use this to shout out the raider, it will tell chat to go follow their stream.
  58. e.g.: !so bawkbasoup
  59.  
  60.  
  61. !backseating
  62. Tell the chat not to backseat oats, and that all back seating is purgable.
  63.  
  64. !backseatingtoggle
  65. Put the bot in a mode where it will post the !nobs message on a 10 minute timer. Use the command again to turn this feature off. Putting the bot to sleep (if you are also an admin) also toggles this mode.
  66.  
  67.  
  68. Admin Commands(whitelist only):
  69. (all user commands)
  70. (all subscriber commands)
  71. (all VIP commands)
  72. (all moderator commands)
  73.  
  74. !addcommand
  75. Expected message structure: !addcommand <command name> <command text OR permission level like \"-u\"> <if there is a
  76. permission level, command text>
  77. Allows admins to add and remove commands to the bot.
  78.  
  79. User Levels: -b (broadcaster), -a (admin), -m (mod), -v (VIP), -s (subscriber), -u (user)
  80. Example: !addcommand !test Hello
  81. This adds the command !test to the bot, and when any user types !test the bot will respond with "Hello"
  82.  
  83. Example: !addcommand !test -v This is VIP only
  84. This adds the command !test to the bot but it will only respond for VIP or above.
  85.  
  86. The bot will tell you if the command add was successful or fails for any reason.
  87.  
  88. !editcommand
  89. Expected message structure: !editcommand <command name> <command text OR permission level like \"-u\"> <if there is a permission level, optional command text to change at the same time>
  90.  
  91. User Levels: -b (broadcaster), -a (admin), -m (mod), -v (VIP), -s (subscriber), -u (user)
  92. Example: !editcommand !test Sup
  93. This edits the command !test in the bot to respond with "Sup" instead
  94.  
  95. Example: !editcommand !test -m This is now Mod only
  96. This edits the command !test to the bot but it will only respond for Mod or above.
  97.  
  98. The bot will tell you if the command add was successful or fails for any reason.
  99.  
  100. !removecommand <commandname>
  101. Expected message structure: !removecommand <command name>
  102.  
  103. Remove any command that has been added to the bot with the !addcommand feature.
  104. ANY COMMAND YOU REMOVE IS NO LONGER AVAILABLE TO ANYONE, IT IS LOST FOREVER.
  105.  
  106. Example: !removecommand !test
  107. This removes the command test added before.
  108.  
  109. The bot will tell you if the command remove was successful or fails for any reason.
  110.  
  111. !sleep
  112. Put the bot to sleep until you use the !wakeup command (also put the subscribe/follow thread to sleep) This is a HARD pause, it turns off the chat auto-detect feature.
  113.  
  114. !wakeup
  115. Wake up the sleeping bot. (Also wake up the subscribe/follow thread). Re-enables chat auto-detection.
  116.  
  117. !cornstorm
  118. Set the bot chance to corn a message to 1/5
  119.  
  120. !clearskies
  121. Set the bot chance to corn a message to 1/500
  122.  
  123.  
  124. Broadcaster/Bot Editor Only Commands(because with great power comes great responsibility)
  125.  
  126. Every other command
  127.  
  128. !whitelist
  129. Expected message structure: !whitelist <username>
  130. Adds a user to the "admin" list in the bot. Gives them access to all admin commands and under. Does not work if the user is in the blacklist.
  131.  
  132. !unwhitelist
  133. Expected message structure: !unwhitelist <username>
  134. Removes a user from the "admin" list in the bot.
  135.  
  136. !blacklist
  137. Expected message structure: !blacklist <username>
  138. Adds a user to the blacklist in the bot. Ignores them entirely. Does not work if the user is in the whitelist.
  139.  
  140. !unblacklist
  141. Expected message structure: !unblacklist <username>
  142. Removes a user from the blacklist in the bot.
  143.  
  144. !addeditor
  145. Expected message structure: !addeditor <username>
  146. Gives user the access to every command. Use with EXTREME caution. If I find out you didn't I will omega-ban you.
  147.  
  148. !removeeditor
  149. Expected message structure: !removeeditor <username>
  150. Removes the user access to every command.
  151.  
  152. !addauto
  153. Expected message structure: !addauto <Auto posted text here>
  154. Adds an auto posting message on the cadence in the botconfig file. Adding more than one of these will result in the bot cycling through them in order.
  155.  
  156. !getautos
  157. Whispers you all of the current auto posting messages you have saved, by index. This currently doesn't work very well and I'm the only one who uses it anyways... but if some one wants to actually use it let me know and I'll figure it out.
  158.  
  159. !removeauto
  160. Expected message structure: !removeauto <index from !getautos>
  161. Removes the specified auto posted message.
  162.  
  163. !disablecommand
  164. Expected message structure: !disablecommand <hard coded command name>
  165. Disables a hard-coded command. Can be reversed with !enablecommand.
  166.  
  167. !enablecommand
  168. Expected message structure: !enablecommand <hard coded command name>
  169. Enables a hard-coded command. Can be disabled again with !disablecommand.
  170.  
  171. !addchannelpointredemption
  172. Expected message structure: !addchannelpointredemption "Channel point redemption title" -<one of the supported message types> <optional text to additionally send to chat>
  173. Use to issue an action against the chat or a user upon a specific channel points redemption. Supported command types: -message, -timeout, -ban, -unban, -slow, -slowoff, -unique, -uniqueoff, -emote, -emoteoff, -sub, -suboff. Commands that require a username require the username to be typed into the redemption text.
  174.  
  175. !removechannelpointredemption
  176. Expected message structure: !removechannelpointredemption "Channel point redemption title"
  177. Use to remove an existing action upon a specific channel points redemption.
  178.  
  179. !getchannelpointredemptions
  180. Use to have the bot whisper you the current saved channel point redemptions.
  181.  
  182. !executeorder66
  183. Purge anyone who talks in chat. At all.
  184.  
  185. !thedarksidewins
  186. The battle is won, the Jedi are gone. (Turns off auto purge)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement