22 lines
453 B
JavaScript
22 lines
453 B
JavaScript
// SupportBot | Emerald Services
|
|
// Addon Structure
|
|
|
|
class Command {
|
|
constructor(options) {
|
|
this.name = options.name;
|
|
this.description = options.description;
|
|
this.permissions = options.permissions;
|
|
this.options = options.options || [];
|
|
this.run = options.run;
|
|
this.defaultPermission = true;
|
|
}
|
|
}
|
|
class Event {
|
|
constructor(event, run) {
|
|
this.event = event;
|
|
this.run = run;
|
|
}
|
|
}
|
|
|
|
module.exports = { Command, Event };
|