Contact - BluDood/BluDoodAPI GitHub Wiki
/contact
endpoint
Setting up environment variables for the To enable the /contact
endpoint, you'll need to register a Discord Webhook:
Steps
Go to the settings of any Discord channel you would like to receive messages in, and click "Integrations" > "Webhooks". Click "New Webhook", optionally give it a name, and click "Copy Webhook URL". Now paste it into your .env file as such:
DISCORD_WEBHOOK=webhook_url
Optional: Receive pings for new messages
- In your Discord client, head over to the Advanced tab in Settings, and enable "Developer Mode".
- Now, click on your profile in the lower left, and click "Copy User ID"
- Then, paste it into your .env file as follows:
DISCORD_USER_ID=your_user_id