new stuff
This commit is contained in:
commit
a5b6425af1
22 changed files with 1375 additions and 0 deletions
19
bot/base/Command.js
Normal file
19
bot/base/Command.js
Normal file
|
@ -0,0 +1,19 @@
|
|||
class Command {
|
||||
|
||||
constructor (client, {
|
||||
name = null,
|
||||
description = "No description provided.",
|
||||
category = "Miscellaneous",
|
||||
usage = "No usage provided.",
|
||||
enabled = true,
|
||||
guildOnly = false,
|
||||
devOnly = false,
|
||||
aliases = new Array(),
|
||||
permLevel = "User"
|
||||
}) {
|
||||
this.client = client;
|
||||
this.conf = { enabled, guildOnly, devOnly, aliases, permLevel };
|
||||
this.help = { name, description, category, usage };
|
||||
}
|
||||
}
|
||||
module.exports = Command;
|
Loading…
Add table
Add a link
Reference in a new issue