Remove bot index from command class

This commit is contained in:
7cc5c4f330d47060 2024-08-17 09:45:30 -04:00
parent 42f3839dd2
commit 1631d3cb9d
Signed by: 7cc5c4f330d47060
SSH key fingerprint: SHA256:e+4tcZut1nBpe10PqjaO+Rvie0Q7W4qIvFzcUw+7riA
4 changed files with 0 additions and 4 deletions

View file

@ -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))

View file

@ -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",

View file

@ -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

View file

@ -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 = ''