Constructor
new Command(client, info)
- Source:
Parameters:
Name | Type | Description |
---|---|---|
client |
ModzClient
|
The client the command is for |
info |
CommandInfo
|
The command information |
Members
aliases :Array.<string>
Aliases for the command
- Source:
Type:
-
Array.<string>
Methods
(abstract) run(message, args) → {Promise.<(?Message|?Array.<Message>)>}
Runs the command
- Source:
Parameters:
Name | Type | Description |
---|---|---|
message |
Message
|
The message the command is being run for |
args |
Array.<string>
|
The arguments for the command |
Returns:
- Type:
-
Promise.<(?Message|?Array.<Message>)>