Can I Integrate a Discord Channel with Github Pull Requests?

I have a programming team that shares code using GitHub, but primarily communicates through Discord. How can I setup my team's Discord to automatically include updates about GitHub commits and pull requests?

2 Answers

Integrating GitHub updates into a Discord channel can be done with webhook updates.

Via Discord - Intro to Webhooks

  1. Get the webhook URL for the server/channel you want to receive messages:
  1. Open the webhook settings in your GitHub repository settings (Settings > Webhooks)
  1. Click the "Add webhook" button, and enter the Discord-generated URL in the "Payload URL" section.

  2. To ensure the webhook displays messages properly, make sure to append '/github' at the end of your URL.

  3. For content type, stick with application/json, then customize which kind of events trigger webhook messages.

  1. Click the last "Add webhook" button beneath the event notifications customization option, and you're all set!

I would like to add that as of now, Discord web hooks can receive Slack notifications. Simply add /slack to the web hook URL. This greatly increases the number of apps Discord can receive notifications from.

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Robert Thorne

Robert Thorne

Automotive & Future Transportation Editor

Robert Thorne covers electric vehicle innovations, autonomous driving systems, global mobility trends, and automotive engineering developments.

Share this article
Twitter Facebook Pinterest