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

`bot.chat` only supports strings
cover
jay 3 years ago
parent 69d0f5830d
commit 034f8d331a
  1. 2
      lib/plugins/informer.js

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

Loading…
Cancel
Save