Can I integrate a Discord channel with GitHub pull requests?
Integrating GitHub updates into a Discord channel can be done with webhook updates.
Via Discord - Intro to Webhooks
- Get the webhook URL for the server/channel you want to receive messages:
- Open the webhook settings in your GitHub repository settings (Settings > Webhooks)
Click the "Add webhook" button, and enter the Discord-generated URL in the "Payload URL" section.
To ensure the webhook displays messages properly, make sure to append '/github' at the end of your URL.
For content type, stick with application/json, then customize which kind of events trigger webhook messages.
- Click the last "Add webhook" button beneath the event notifications customization option, and you're all set!