Skip to content

Commit

Permalink
Typo Fix in OCR
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberboysumanjay authored Jul 1, 2021
1 parent f4f2f54 commit 5fb0720
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ client.on('message_create', async (msg) => {
msg.delete(true)
var quotedMsg = await msg.getQuotedMessage();
var attachmentData = await quotedMsg.downloadMedia();
var data = await ocr.read(attachmentData);
var data = await ocr.readImage(attachmentData);
if (data == "error") {
quotedMsg.reply(`Error occured while reading the image. Please make sure the image is clear.`)
} else {
Expand Down

0 comments on commit 5fb0720

Please sign in to comment.