This commit is contained in:
ChomeNS 2022-12-26 13:58:08 +07:00
parent 72ca99be66
commit 1341714eed

View file

@ -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' })
}
}