Fix Reporter

This commit is contained in:
thororen1234 2024-07-19 15:52:38 -04:00
parent 46ae85dc5e
commit 5037a49faa

View file

@ -311,7 +311,7 @@ async function reporterRuntime(token: string) {
await page.evaluateOnNewDocument(`
if (location.host.endsWith("discord.com")) {
${readFileSync("./dist/browser.js", "utf-8")};
${readFileSync("./dist/browser/browser.js", "utf-8")};
(${reporterRuntime.toString()})(${JSON.stringify(process.env.DISCORD_TOKEN)});
}
`);