mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-08 14:13:02 -04:00
fix ocr errors
This commit is contained in:
parent
1ea541bfb7
commit
3a846b2c19
3 changed files with 3 additions and 3 deletions
|
@ -29,7 +29,7 @@ module.exports = {
|
|||
return editOrReply(context, { embeds: [createEmbed("error", context, "Unable to retrieve Google Vision API response.")] })
|
||||
}
|
||||
|
||||
if(ocr.response.body.status == 1) return editOrReply(context, { embeds: [createEmbed("warning", context, ocr.response.body.message)] })
|
||||
if(ocr.response.body.status == 1) return editOrReply(context, { embeds: [createEmbed("warning", context, ocr.response.body.text)] })
|
||||
|
||||
return editOrReply(context, createEmbed("default", context, {
|
||||
thumbnail: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue