D
D
Djs Command Control
Github
NPM
Search…
1.5.*
Discord.js Command Control
djs-command-control
Welcome!
Classes
Commands
Command
Plugin
Types
Examples
Extending
djs-command-mongo
Welcome!
Permissions Plugin
Powered By
GitBook
Command
This is the full specification of the Command Class
Setters
Name
Type
Description
name
string
The name of the command, like it should display in Help
description
string
The description of the command like it should display in Help
invokes
string[]
An array of strings that can be used to invoke the command, no spaces allowed
usage
string
A string that will be appended to the invokes in the help command, explaining how to use the command
permissions
string[]
An array of Discord permission strings that
may
execute the command
category
string
The name of the category to add the command to
execute
(message: Message, options: any) => Promise<void>
The async function to execute when the command is called
omitHelp
boolean
Whether to omit the command from help
Getters
Name
Type
Description
command
CommandObj
The command object that will be used later
Previous
Commands
Next
Plugin
Last modified
1yr ago
Copy link
Contents
Setters
Getters