Closed TheShadowEevee closed 2 months ago
@TheShadowEevee is attempting to deploy a commit to the Purdue Hackers Team on Vercel.
A member of the Team first needs to authorize it.
Updated so now if the DISCORD_GUILD
env variable doesn't exist, the guild membership checks are turned off.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
passport-data-pages | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Aug 27, 2024 1:40pm |
This adds a check to make sure a given Discord account is a member of a guild when creating a passport. If they are not a member, they will be prompted with an invite link (Currently hard coded to
https://puhack.horse/discord
). On the next refresh, their membership will be noticed.Notable Changes:
DISCORD_GUILD
- This should be the Guild ID of the membership guild. For deployment, this will be772576325897945119
.See the following demo video:
https://github.com/user-attachments/assets/a9f7ea17-9251-47bc-bd98-fcd667c17060
Edit: Closes #12