new field
This commit is contained in:
parent
688d3e82ae
commit
5f117d348c
1 changed files with 19 additions and 18 deletions
|
@ -2,10 +2,11 @@ class Command {
|
|||
|
||||
constructor (client, {
|
||||
name = null,
|
||||
description = "No description provided.",
|
||||
category = "Miscellaneous",
|
||||
usage = "No usage provided.",
|
||||
examples = "",
|
||||
description = 'No description provided.',
|
||||
category = 'Miscellaneous',
|
||||
usage = 'No usage provided.',
|
||||
parameters = '',
|
||||
examples = '',
|
||||
enabled = true,
|
||||
guildOnly = false,
|
||||
devOnly = false,
|
||||
|
@ -16,7 +17,7 @@ class Command {
|
|||
}) {
|
||||
this.client = client;
|
||||
this.conf = { enabled, guildOnly, devOnly, aliases, userPerms, botPerms, cooldown };
|
||||
this.help = { name, description, category, usage, examples };
|
||||
this.help = { name, description, category, usage, parameters, examples };
|
||||
}
|
||||
}
|
||||
module.exports = Command;
|
||||
|
|
Loading…
Reference in a new issue