2019-10-09 16:19:30 +00:00
|
|
|
module.exports = class Command {
|
2019-11-10 08:42:09 +00:00
|
|
|
constructor(command) {
|
|
|
|
this.name = command.name || '';
|
|
|
|
this.description = command.description || '';
|
|
|
|
this.aliases = command.aliases || [];
|
|
|
|
this.module = command.module || '';
|
|
|
|
this.cooldown = command.cooldown || 0;
|
|
|
|
this.guildOnly = command.guildOnly || false;
|
|
|
|
this.developerOnly = command.developerOnly || false;
|
|
|
|
this.nsfw = command.nsfw || false;
|
|
|
|
this.AuthorPermissions = command.AuthorPermissions || 'NONE';
|
|
|
|
}
|
|
|
|
};
|