diff --git a/commands/help.js b/commands/help.js index 31c0547..af2700b 100644 --- a/commands/help.js +++ b/commands/help.js @@ -118,14 +118,13 @@ const printCmdHelp = (c) => { const permsN = getMessage(c.lang, 'command.help.permsNormal') const permsT = getMessage(c.lang, 'command.help.permsTrusted') const permsO = getMessage(c.lang, 'command.help.permsOwner') - const permsC = getMessage(c.lang, 'command.help.permsConsole') const rPerms = cmds[cmd].level ? cmds[cmd].level : 0 c.reply({ translate: getMessage(c.lang, 'command.help.commandPerms'), color: c.colors.secondary, with: [ { - text: [permsN, permsT, permsO, permsC][rPerms], + text: [permsN, permsT, permsO][rPerms], color: c.colors.primary } ] diff --git a/commands/validate.js b/commands/validate.js index b4d3542..944087a 100644 --- a/commands/validate.js +++ b/commands/validate.js @@ -4,13 +4,12 @@ module.exports = { const permsN = getMessage(c.lang, 'command.help.permsNormal') const permsT = getMessage(c.lang, 'command.help.permsTrusted') const permsO = getMessage(c.lang, 'command.help.permsOwner') - const permsC = getMessage(c.lang, 'command.help.permsConsole') c.reply({ translate: getMessage(c.lang, 'command.verify.success'), color: c.colors.secondary, with: [ { - text: [permsN, permsT, permsO, permsC][c.verify], + text: [permsN, permsT, permsO][c.verify], color: c.colors.primary } ] diff --git a/util/ConsoleCommand.js b/util/ConsoleCommand.js index ebf1f64..72b6f61 100644 --- a/util/ConsoleCommand.js +++ b/util/ConsoleCommand.js @@ -17,7 +17,7 @@ class ConsoleCommand { this.type = 'console' this.args = cmd.split(' ').slice(1) this.cmdName = cmd.split(' ')[0] - this.verify = 3 + this.verify = 2 this.host = '' this.port = '3' this.serverName = 'botvX Console'