20 lines
413 B
JavaScript
20 lines
413 B
JavaScript
// SupportBot | Emerald Services
|
|
// Command Structure
|
|
|
|
const fs = require("fs");
|
|
|
|
const yaml = require("js-yaml");
|
|
|
|
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;
|
|
}
|
|
}
|
|
|
|
module.exports = Command;
|