backtrack on the folder name change

This commit is contained in:
Emily 2020-10-17 12:15:27 +11:00
parent 4c927ebbc0
commit 9bc01e599c

22
bot/base/Command.js Normal file
View file

@ -0,0 +1,22 @@
class Command {
constructor (client, {
name = null,
description = "No description provided.",
category = "Miscellaneous",
usage = "No usage provided.",
examples = "",
enabled = true,
guildOnly = false,
devOnly = false,
aliases = new Array(),
userPerms = new Array(),
botPerms = new Array (),
cooldown = 2000
}) {
this.client = client;
this.conf = { enabled, guildOnly, devOnly, aliases, userPerms, botPerms, cooldown };
this.help = { name, description, category, usage, examples };
}
}
module.exports = Command;