mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-08 06:03:04 -04:00
reflect backend change
This commit is contained in:
parent
9eb257b28d
commit
9acb1d5ec5
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ module.exports = {
|
|||
|
||||
let ocr = await googleVisionOcr(context, image)
|
||||
|
||||
if(ocr.response.body.text.length == 0) return editOrReply(context, { embeds: [createEmbed("warning", context, "No text detected.")] })
|
||||
if(ocr.response.body.status == 1) return editOrReply(context, { embeds: [createEmbed("warning", context, ocr.response.body.message)] })
|
||||
|
||||
return editOrReply(context, createEmbed("default", context, {
|
||||
thumbnail: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue