Discord Setup¶
To enable Discord notifications, you need a Webhook URL.
Create the Webhook¶
- Open Discord and go to the server where you want to receive messages.
- Click the server name (top-left) and choose Server Settings.
- In the left sidebar, go to Integrations and Webhooks.
- Click New Webhook / Create Webhook.
Copy the Webhook URL¶
- In the same Webhook screen, click Copy Webhook URL.
- The copied string will look like:
https://discord.com/api/webhooks/XXXXXXXX/XXXXXXXXXXXXXXXX
Environment Configuration¶
Add this key to your .env file:
DISCORD_WEBHOOK="https://discord.com/api/webhooks/YOUR_WEBHOOK_URL"