GODDESS OF DISCORD, YEAH
This commit is contained in:
parent
00bbebcf4a
commit
ee5de0ccaa
19 changed files with 2640 additions and 8 deletions
23
bot/base/Command.js
Normal file
23
bot/base/Command.js
Normal file
|
@ -0,0 +1,23 @@
|
|||
class Command {
|
||||
|
||||
constructor (client, {
|
||||
name = null,
|
||||
description = 'No description provided.',
|
||||
category = 'Miscellaneous',
|
||||
usage = 'No usage provided.',
|
||||
parameters = '',
|
||||
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, parameters, examples };
|
||||
}
|
||||
}
|
||||
module.exports = Command;
|
Loading…
Add table
Add a link
Reference in a new issue