The list of custom commands are in the order they appear in the source.
- assistants
- code
- fetch
- fun
- humor
- music
- scrapers
Description: If no arguments are specified, the command displays a list of all commands available in the current context. In order for a command to be displayed, it must be enabled in the guild (or global), and the user must have permission to use it. Passing the all argument will list all commands, regardless of context. Passing anything else will search for any commands that match, and display detailed information if only one is found.
examples
- help
- help eval
Description: The ping command will send a message, then edit it to contain the amount of time it took. It also displays the client's heartbeat ping.
examples
- ping
Description: This command, if not provided with any arguments, will display the current command prefix, and how to use commands. If the command is used in a guild channel and an argument is specified, it will set the command prefix for the guild if the user is a guild admin, or the bot owner, If the command is used in a DM and an argument is specified, it will set the global default command prefix if the user is the bot owner.
examples
- prefix
- prefix %
Description: The eval command will allow the bot owner to evaluate any JavaScript code, and display its result. It will automatically hide the bot's token/email/password in the output. Caution should still be taken, however, as you could potentially break your running bot with it.
In the script, this will refer to the Command instance. There are several shortcut variables and helpers that are also available:
examples
Name | Type | Description |
---|---|---|
message, msg | Variable | The message that triggered the command |
client | Variable | Shortcut to this.client |
objects | Variable | Shortcut to this.client.registry.evalObjects |
lastResult | Variable | Shortcut to this.lastResult (the previous eval result value) |
doReply(val) | Function | Sends another detailed message with any value to display. Useful for callbacks. |
Description: Enables a command/group in the current guild if the user is an admin or the bot owner. If used in a DM, enables the command/group globally by default if the user is the bot owner.
examples
- enable brick
Description: Disables a command/group in the current guild if the user is an admin or the bot owner. If used in a DM, disables the command/group globally by default if the user is the bot owner.
examples
- disable brick
Description: Reloads a command, or all commands in a group, if the user is the bot owner.
examples
- reload
- reload brick
Description: Loads a command if the user is the bot owner. The command must be specified as the full name (group:memberName). Built-in commands cannot be loaded.
examples
- load brick
Description: Unloads a command if the user is the bot owner. Built-in commands cannot be unloaded.
examples
- unload brick
Description: Lists all command groups if the user is an admin of the current guild, or the bot owner.
examples
- groups
Custom Commands
Description: let me google that for you - Google for slow people
examples
- lmgtfy js vs python
- lmgtfy How do I google something?
Description: Link to report bugs and request features about the bot.
examples
- issue
- issue Add better memes
- issue Add better memes // Let's add better meme support. For example, none of the memes are memes.
Description: (Un)assign roles to yourself
examples
- role remove USA
- role add she/her
Description: Formats code in the provided language
examples
- format js console.log("hello world!");
- format go fmt.Println("Hello World!")
Description: Loads a cat-related picture demonstrating various HTTP status codes
examples
- catuscode 500
- catuscode 301
Description: Pulls top posts from reddit
examples
- reddit news hot hour 3
- reddit javascript rising week 10
Description: Gets a daily horoscope for your astrological sign
examples
- horoscope capricorn
Description: Brick screaming
examples
- brick
Description: Dance-off
examples
- danceoff
Description: Rick Astley - Never Gonna Give You Up command
examples
- rickroll
Description: plays a video from youtube at the provided full url
examples
Description Scraps fcc challenge descriptions
examples
Description: Loads documentation from Mozilla Developer Network based on keywords
examples
- mdn array slice
description: Loads documentation from PHP.net based on keywords
examples
- phpdoc strlen