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');