thaldrin/src/structures/Command.js

11 lines
412 B
JavaScript
Executable File

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;
}
}