mirror of
https://github.com/ChomeNS/chomens-bot-mc.git
synced 2024-11-23 07:38:00 -05:00
remove typeof from tellraw plugin cuz UNUSED
This commit is contained in:
parent
b6a0c9c4ad
commit
056b38fcf8
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ function inject (bot, dcclient, config) {
|
|||
bot.chat(ChatMessage.fromNotch(message).toMotd().replaceAll('\xa7', '&'))
|
||||
return
|
||||
}
|
||||
bot.core.run(`minecraft:tellraw ${selector} ${typeof message === 'string' ? message : JSON.stringify(message)}`)
|
||||
bot.core.run(`minecraft:tellraw ${selector} ${JSON.stringify(message)}`)
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue