thaldrin/src/structures/Command.js

11 lines
412 B
JavaScript
Raw Normal View History

2019-10-09 16:19:30 +00:00
module.exports = class Command {
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;
}
}