From 262319a97c499bccf4fcfe84316f508a4c4b4f2e Mon Sep 17 00:00:00 2001 From: Nuckyz <61953774+Nuckyz@users.noreply.github.com> Date: Fri, 23 Aug 2024 20:26:03 -0300 Subject: [PATCH] who cares about logging in :) --- scripts/generateReport.ts | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/scripts/generateReport.ts b/scripts/generateReport.ts index 0521cc053..6ab8f8e55 100644 --- a/scripts/generateReport.ts +++ b/scripts/generateReport.ts @@ -299,20 +299,9 @@ page.on("pageerror", e => { } }); -async function reporterRuntime(token: string) { - Vencord.Webpack.waitFor( - Vencord.Webpack.filters.byProps("loginToken"), - m => { - console.log("[PUP_DEBUG]", "Logging in with token..."); - m.loginToken(token); - } - ); -} - await page.evaluateOnNewDocument(` if (location.host.endsWith("discord.com")) { ${readFileSync("./dist/browser.js", "utf-8")}; - (${reporterRuntime.toString()})(${JSON.stringify(process.env.DISCORD_TOKEN)}); } `);