add examples section to command base
This commit is contained in:
parent
13b98b5f59
commit
b277079493
1 changed files with 2 additions and 1 deletions
|
@ -5,6 +5,7 @@ class Command {
|
||||||
description = "No description provided.",
|
description = "No description provided.",
|
||||||
category = "Miscellaneous",
|
category = "Miscellaneous",
|
||||||
usage = "No usage provided.",
|
usage = "No usage provided.",
|
||||||
|
examples = "No examples provided.",
|
||||||
enabled = true,
|
enabled = true,
|
||||||
guildOnly = false,
|
guildOnly = false,
|
||||||
devOnly = false,
|
devOnly = false,
|
||||||
|
@ -15,7 +16,7 @@ class Command {
|
||||||
}) {
|
}) {
|
||||||
this.client = client;
|
this.client = client;
|
||||||
this.conf = { enabled, guildOnly, devOnly, aliases, userPerms, botPerms, cooldown };
|
this.conf = { enabled, guildOnly, devOnly, aliases, userPerms, botPerms, cooldown };
|
||||||
this.help = { name, description, category, usage };
|
this.help = { name, description, category, usage, examples };
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
module.exports = Command;
|
module.exports = Command;
|
||||||
|
|
Loading…
Reference in a new issue