2021-10-04 20:41:05 +01:00
|
|
|
// SupportBot | Emerald Services
|
|
|
|
|
// Command Structure
|
|
|
|
|
|
|
|
|
|
class Command {
|
2021-10-24 22:41:46 +01:00
|
|
|
constructor(options) {
|
|
|
|
|
this.name = options.name;
|
|
|
|
|
this.description = options.description;
|
2021-12-18 18:57:26 -06:00
|
|
|
this.permissions = options.permissions;
|
|
|
|
|
this.options = options.options || [];
|
2021-10-24 22:41:46 +01:00
|
|
|
this.run = options.run;
|
2021-12-18 18:57:26 -06:00
|
|
|
this.defaultPermission = true;
|
2021-10-24 22:41:46 +01:00
|
|
|
}
|
2021-10-04 20:41:05 +01:00
|
|
|
}
|
2021-10-24 22:41:46 +01:00
|
|
|
module.exports = Command;
|