Environment
How to setup environment variables for Vercord
Environment Variables
These are the environment variables you need to set at your Vercord instance in Vercel for it to work
Prop | Type | Default |
---|---|---|
DISCORD_WEBHOOK_AVATAR_URL? | string | https://vercord.dev/logo.png |
DISCORD_WEBHOOK_USERNAME? | string | Vercord |
DISCORD_WEBHOOK_URL | string | https://discord.com/api/webhooks/<id>/<token> |
WEBHOOK_INTEGRATION_SECRET | string | your-secret |
Security Considerations
- Store your webhook secret securely with a unique value for each integration
- All incoming webhooks are validated using HMAC-SHA1 signatures
- Webhook payloads are validated against a strict schema to ensure data integrity
Then just redeploy your Vercord instance and you're done!