diff --git a/commands/test.js b/commands/test.js index 089b73f..07f7de3 100644 --- a/commands/test.js +++ b/commands/test.js @@ -23,7 +23,6 @@ module.exports = { c.reply(reply("command",c.command)) c.reply(reply("msgType",c.msgType)) c.reply(reply("prefix",c.prefix)) - c.reply(reply("index",c.index.toString())) c.reply(reply("args",c.args.join(", "))) c.reply(reply("verify",c.verify.toString())) c.reply(reply("host",c.host)) diff --git a/lang/en-US.json b/lang/en-US.json index 9dfd4c6..690ac76 100644 --- a/lang/en-US.json +++ b/lang/en-US.json @@ -77,7 +77,6 @@ "command.test.command": "Command", "command.test.msgType": "Message type", "command.test.prefix": "Prefix", - "command.test.index": "Bot ID", "command.test.args": "Arguments", "command.test.verify": "Permission level", "command.test.host": "Server host", diff --git a/util/Command.js b/util/Command.js index 6eef075..638af23 100644 --- a/util/Command.js +++ b/util/Command.js @@ -11,7 +11,6 @@ class Command { this.prefix = prefix this.bot = bot this.type = 'minecraft' - this.index = bot.id this.args = cmd.split(' ').slice(1) this.verify = verify this.host = bot.host.host diff --git a/util/ConsoleCommand.js b/util/ConsoleCommand.js index e20f9ea..b70f19d 100644 --- a/util/ConsoleCommand.js +++ b/util/ConsoleCommand.js @@ -16,7 +16,6 @@ class ConsoleCommand { ? index.bot[index2] : {} this.type = 'console' - this.index = index2 this.args = cmd.split(' ').slice(1) this.verify = 3 this.host = ''