mirror of
https://github.com/ChomeNS/chomens-bot-mc.git
synced 2024-11-14 10:44:55 -05:00
amogus
This commit is contained in:
parent
72ca99be66
commit
1341714eed
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ module.exports = {
|
|||
|
||||
bot.draw(data, info)
|
||||
} catch (_err) {
|
||||
const e = image.data.toString()
|
||||
const e = _err.toString() === 'Error: Input buffer contains unsupported image format' ? image.data.toString() : _err
|
||||
bot.tellraw(selector, { text: e, color: 'red' })
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue