import GamebotError from '../error/GamebotError.js'
/**
* Abstract class for a command
*/
export default class BaseCommand {
constructor(options) {
this.run = options.run || new GamebotError('Command has uninitialized run command')
this.name = options.name || new GamebotError('Command has uninitialized name')
this.usage = options.usage || new GamebotError('Command has uninitialized usage')
this.aliases = options.aliases || new GamebotError('Command has uninitialized aliases')
this.category = options.category || new GamebotError('Command has uninitialized category')
this.description = options.description || new GamebotError('Command has uninitialized description')
this.permissions = options.permissions || []
this.args = options.args || false
}
}