diff --git a/src/lib/command.js b/src/lib/command.js index d671ba3..54e000f 100644 --- a/src/lib/command.js +++ b/src/lib/command.js @@ -1,10 +1,7 @@ -const {Permissions} = require("eris/lib/Constants"); - class Command { constructor(name) { this.name = name; this.aliases = []; - this.permissions = {}; this.helpText = "No description provided."; this.category = "unsorted"; } @@ -19,18 +16,6 @@ class Command { return this.aliases.includes(alias); } - addPermission(permission) { - if (Permissions[permission]) { - this.permissions[permission] = true; - } - } - removePermission(permission) { - delete this.permissions[permission]; - } - getPermissions() { - return this.permissions; - } - callback() { return "Callback not overwritten."; }