backtrack on the folder name change
This commit is contained in:
parent
4c927ebbc0
commit
9bc01e599c
1 changed files with 0 additions and 0 deletions
22
bot/base/Command.js
Normal file
22
bot/base/Command.js
Normal 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;
|
Loading…
Add table
Add a link
Reference in a new issue