-
Notifications
You must be signed in to change notification settings - Fork 30
Commands
This page lists all of OakBot's commands and listeners.
Type /help COMMAND to see this help documentation in chat.
Simulates a magic 8-ball.
Examples:
/8ball Is Java the best?
Displays information about this bot.
Allows users to mark themselves as "away". If the user is mentioned in chat, Oak will post a message saying that the user is away. As soon as the user posts a message, Oak will welcome them back and remove their "away" status. "Away" status spans all chat rooms the user has joined.
Examples:
-
/afk- Marks the user as "away". -
/afk Feeding the dog.- Marks the user as "away" and provides an away message that Oak will post if the user is mentioned in chat.
Aliases: brb
Displays scores from Advent of Code leaderboards, and announces when members complete puzzles. Only enabled during the month of December.
Examples:
-
/aoc- Displays the default leaderboard that is assigned to the current room. -
/aoc 12345- Displays the leaderboard with ID 12345.
Aliases: advent
Displays a cat GIF. :3 Images from thecatapi.com.
Aliases: meow
Displays word definitions from the dictionary. Definitions are retrieved from Merriam-Webster's dictionary API (dictionaryapi.com).
Examples:
-
/define steganography- Displays the definition for "steganography".
Displays items from the book "Effective Debugging, 66 Specific Ways to Debug Software and Systems" by Diomidis Spinellis.
Examples:
-
/ed !list- Lists all items. -
/ed !random- Displays a random item. -
/ed 5- Displays item #5. -
/ed automate- Displays all items that contain the keyword "automate".
Displays items from the book "Effective Java, Third Edition" by Joshua Bloch.
Examples:
-
/ej !list- Lists all items. -
/ej !random- Displays a random item. -
/ej 5- Displays item #5. -
/ej string- Displays all items that contain the keyword "string".
Aliases: bloch
Displays a facepalm GIF. Images from tenor.com.
Displays a fat cat.
Examples:
-
/fatcat- Shows a random fat cat. -
/fatcat list- Lists all fat cats. -
/fatcat add URL- Adds a fat cat. -
/fatcat delete URL- Deletes a fat cat.
Toggles a filter that makes Oak speak in Groot.
Displays the list of available commands, as well as detailed information about specific commands.
Examples:
-
/help- Displays the list of available commands -
/help jaba- Displays the help documentation for a command called "jaba".
Displays information about HTTP status codes and methods. Descriptions come from the official RFC specifications.
Examples:
-
/http 200- Displays the description for the HTTP 200 status code. -
/http GET- Displays the description for the HTTP GET method. -
/http 200 2- Displays paragraph 2 from the description of HTTP 200.
Displays class documentation from the Javadocs. If more than one class or method matches the query, then a list of choices is displayed. Queries are case-insensitive.
Examples:
-
/javadoc String- Searches for all classes named "String". -
/javadoc java.lang.String#substring- Searches for all methods in the "java.lang.String" class called "substring". -
/javadoc java.lang.String#substring(int)- Searches for a method in the "java.lang.String" class called "substring" that has a single "int" parameter. -
/javadoc java.lang.String#substring(int) JonSkeet- Same as above, but directs the response to a specific user. -
/javadoc java.lang.String#substring(int) 2- Displays the second paragraph of the javadoc description.
Aliases: javadocs
Posts a modified version of a user's profile picture showing them drinking from a juice box. Images from juiceboxify.me.
Examples:
-
/juicebox- Juiceboxifies the picture of the user who sent the command. -
/juicebox Michael- Finds a user named "Michael" in the current chat room and juiceboxifies their picture.
Creates a new command.
Examples:
-
/learn happy :)- Creates a command called "happy" which outputs ":)" when invoked. -
/learn complement {0} is awesome!- Creates a command called "complement" which has a parameter.
Displays a reaction GIF. Images from replygif.net.
Examples:
-
/react happy- Displays a "happy" GIF.
Aliases: reaction
Rolls a variable-sided die or makes a choice.
Examples:
-
/roll- Rolls a six-sided die. -
/roll 2d20- Rolls two twenty-sided dice. -
/roll vi emacs- Randomly chooses one of the specified keywords ("vi" or "emacs").
Toggles a filter that makes all the letters in the messages Oak posts look like they are upside down.
Displays a "shrug" emoticon.
Terminates the bot (admins only).
Makes the bot join another room. At least 2 user(s) are needed to summon the bot to a room.
Examples:
-
/summon 139- Makes the bot join the room with ID 139.
Aliases: join
Displays the description of a StackOverflow tag.
Examples:
-
/tag mvc- Displays the description of the "mvc" tag.
Deletes a learned command.
Examples:
-
/unlearn happy- Deletes the command called "happy".
Aliases: forget
Makes the bot leave a room. Rooms which are designated as "home" rooms cannot be left.
Examples:
-
/unsummon- Makes the bot leave the current room. -
/unsummon 139- Makes the bot leave the room with ID 139.
Aliases: leave
Retrieves definitions from urbandictionary.com.
Examples:
-
/urban brah- Displays the top definition for "brah". -
/urban brah 2- Displays the second most popular definition for "brah".
Toggles a filter that makes Oak speak in Wadu Hek.
Displays a one-box for a Wikipedia page.
Examples:
-
/wiki James Gosling- Displays a one-box for the "James Gosling" Wikipedia page.
Allows the user to have a conversation with ChatGPT. Mentioning the bot will start a conversation. The last 0 messages in the chat room are sent to the ChatGPT servers for context. Under certain conditions, the bot will also periodically post a message from ChatGPT on its own.
Posts an explanation of an XKCD comic whenever one is posted to the room by a system bot. Content from explainxkcd.com.
Sends a reply message when someone mentions the bot's name.
Replies to "good morning" messages. Responds to the following greetings: good morning, morning, morn
Responds with the opposite "wave" emoticon when a user waves: o/ or \o. Will only wave once every 5 minutes at most.
Welcomes new users to the chat room. If a welcome message is defined for this room, users with a reputation less than 1000 will receive a welcome message the first time they post a message.
Posts a fact every day. Facts are from refdesk.com. Fact is posted at 12:00 server time to all non-quiet rooms.
Makes the bot "cough" when the server has pending security updates. The bot will start coughing when there are 10 or more pending updates. It will cough more frequently the more updates there are.
Posts a quote every day. Quotes are from slashdot.org. Quote is posted at 0:00 server time to all non-quiet rooms.