diff --git a/.gitignore b/.gitignore index d15602c..e10fe7f 100644 --- a/.gitignore +++ b/.gitignore @@ -107,4 +107,7 @@ dist commands/ events/ bot.js -config.json \ No newline at end of file +config.json + +# Linux Environment Files +*.swp diff --git a/src/type/command.js b/src/type/command.js index a6b098b..17f2c75 100644 --- a/src/type/command.js +++ b/src/type/command.js @@ -1,6 +1,9 @@ class command { constructor(run) { this.run = run; + + this._roles = []; + this._requiredConfigs = []; } // Description @@ -31,8 +34,6 @@ class command { } // Roles - _roles = []; - get roles() { return this._roles; } @@ -42,8 +43,6 @@ class command { } // Config - _requiredConfigs = []; - get requiredConfigs() { return this._requiredConfigs; } @@ -53,4 +52,4 @@ class command { } } -module.exports = command; \ No newline at end of file +module.exports = command;