diff --git a/src/index.ts b/src/index.ts index 9d6b6f6..8276175 100644 --- a/src/index.ts +++ b/src/index.ts @@ -114,6 +114,23 @@ app.get("/callback", async (c) => { return c.redirect("/flagged.html"); } + // :sob: + if ( + ipData.isp === 'netcup GmbH' || + ipData.org === 'netcup GmbH' + ) { + await logWebhook(client, id, "proxy"); + return c.redirect("/flagged.html"); + } + + if ( + ipData.isp === 'Crunchbits LLC' || + ipData.org === 'Crunchbits LLC' + ) { + await logWebhook(client, id, "proxy"); + return c.redirect("/flagged.html"); + } + if (!mainId) await db.setData(id, ip); await grantRole(guild, id, memberRoles); await logWebhook(client, id, "passed");