Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

Latest commit

 

History

History
214 lines (167 loc) · 7.09 KB

AVAILABLE_COMMANDS.md

File metadata and controls

214 lines (167 loc) · 7.09 KB

Available DiscordBot Commands

The list of custom commands are in the order they appear in the source.

Current Commands

commandojs built in commands

Custom Commands

help

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

ping

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

prefix

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 %

eval

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.

enable

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

disable

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

reload

Description: Reloads a command, or all commands in a group, if the user is the bot owner.

examples

  • reload
  • reload brick

load

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

unload

Description: Unloads a command if the user is the bot owner. Built-in commands cannot be unloaded.

examples

  • unload brick

groups

Description: Lists all command groups if the user is an admin of the current guild, or the bot owner.

examples

  • groups

Custom Commands

lmgtfy

Description: let me google that for you - Google for slow people

examples

  • lmgtfy js vs python
  • lmgtfy How do I google something?

Source

issue

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.

Source

role

Description: (Un)assign roles to yourself

examples

  • role remove USA
  • role add she/her

Source

format

Description: Formats code in the provided language

examples

  • format js console.log("hello world!");
  • format go fmt.Println("Hello World!")

Source

catuscode

Description: Loads a cat-related picture demonstrating various HTTP status codes

examples

  • catuscode 500
  • catuscode 301

Source

reddit

Description: Pulls top posts from reddit

examples

  • reddit news hot hour 3
  • reddit javascript rising week 10

Source

horoscope

Description: Gets a daily horoscope for your astrological sign

examples

  • horoscope capricorn

Source

brick

Description: Brick screaming

examples

  • brick

Source

danceoff

Description: Dance-off

examples

  • danceoff

Source

rickroll

Description: Rick Astley - Never Gonna Give You Up command

examples

  • rickroll

Source

play

Description: plays a video from youtube at the provided full url

examples

Source

fccc

Description Scraps fcc challenge descriptions

examples

Source

mdn

Description: Loads documentation from Mozilla Developer Network based on keywords

examples

  • mdn array slice

Source

phpdoc

description: Loads documentation from PHP.net based on keywords

examples

  • phpdoc strlen

Source

🔙to top