diff --git a/index.ts b/index.ts index 7a08c24..be544ff 100644 --- a/index.ts +++ b/index.ts @@ -24,6 +24,9 @@ const eligibilityCmd = async (ctx: any) => { const res = await fetch("https://identity.hackclub.com/api/external/check?slack_id=" + userId, { + headers: { + 'User-Agent': 'HackClubEligibilityBot/1.0 (ran by Loop / dainfloop)' + } redirect: "follow" }).then(res => res.json())