Fix typo
This commit is contained in:
parent
098afc9718
commit
ba5a81875a
1 changed files with 2 additions and 2 deletions
|
@ -28,8 +28,8 @@ function inject (bot) {
|
|||
})
|
||||
|
||||
bot.on('system_chat', (message) => {
|
||||
if (util.isDeepStrictEquals(message, COMMANDSPY_ENABLED_MESSAGE) || util.isDeepStrictEqual(message, COMMANDSPY_ENABLED_MESSAGE_2)) commandSpyEnabled = true
|
||||
else if (util.isDeepStrictEquals(message, COMMANDSPY_DISABLED_MESSAGE) || util.isDeepStrictEqual(message, COMMANDSPY_DISABLED_MESSAGE_2)) commandSpyEnabled = false
|
||||
if (util.isDeepStrictEqual(message, COMMANDSPY_ENABLED_MESSAGE) || util.isDeepStrictEqual(message, COMMANDSPY_ENABLED_MESSAGE_2)) commandSpyEnabled = true
|
||||
else if (util.isDeepStrictEqual(message, COMMANDSPY_DISABLED_MESSAGE) || util.isDeepStrictEqual(message, COMMANDSPY_DISABLED_MESSAGE_2)) commandSpyEnabled = false
|
||||
})
|
||||
|
||||
bot.on('player_added', (player) => {
|
||||
|
|
Loading…
Reference in a new issue