fix(informer): 🐛 convert array to string for chat

`bot.chat` only supports strings
This commit is contained in:
jay 2021-01-05 08:18:21 +05:00
parent 69d0f5830d
commit 034f8d331a

View File

@ -5,7 +5,7 @@ let mcData
function info() { function info() {
const block = bot.blockAtCursor() const block = bot.blockAtCursor()
console.log(block) console.log(block)
cfg.quiet || bot.chat([block.id, block.name]) cfg.quiet || bot.chat([block.id, block.name].join(": "))
} }
const load = (config) => { const load = (config) => {