Implement OCR

This commit is contained in:
Chloe Fontenot 🏳️‍⚧️ 2024-08-09 23:38:05 -05:00
parent b58e7ff564
commit b7cf3ed133

View File

@ -209,7 +209,7 @@ function getMatchingPhrase(inputString, targetCharacter) {
return;
}
// Does the message have an attachment? Check the attachment with OCR
console.log(message.attachments);
//console.log(message.attachments);
message.attachments.forEach(i => {
if (i.contentType.includes("image")) {
(async () => {