add examples section to command base

This commit is contained in:
Emily 2020-10-11 12:06:10 +11:00
parent 13b98b5f59
commit b277079493

View file

@ -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;