From 82e8f2387f7f98e18d198feb159c56b80f967969 Mon Sep 17 00:00:00 2001 From: Caleb Fontenot Date: Fri, 9 Aug 2024 22:57:44 -0500 Subject: [PATCH] Implement OCR --- main.cjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.cjs b/main.cjs index b628f10..09d02e1 100644 --- a/main.cjs +++ b/main.cjs @@ -2,7 +2,7 @@ // Require the necessary discord.js classes const { Client, Events, GatewayIntentBits, REST, Routes, Collection, FLAGS, MessageMentionOptions, codeBlock, SlashCommandBuilder, blockQuote } = require('discord.js'); const Discord = require('discord.js'); -import { createWorker } from 'tesseract.js'; +const { createWorker } = require('tesseract.js'); const { clientId, guildId, token } = require('./key.json'); let fs = require('node:fs'); let path = require('node:path');