Remove bot index from command class
This commit is contained in:
parent
42f3839dd2
commit
1631d3cb9d
4 changed files with 0 additions and 4 deletions
|
@ -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))
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 = ''
|
||||
|
|
Loading…
Reference in a new issue