DEV Community

Cover image for Simple way to send Github events to a Discord channel using webhook
Jaeyson Anthony Y.
Jaeyson Anthony Y.

Posted on

Simple way to send Github events to a Discord channel using webhook

  • You can create a test server to try this out.

  • Create or select a text channel you want to send the events (e.g. general), mine's in github-webhook channel:

discord create a channel

  • Go to channel's settings (gear icon) > Integrations > Webhooks > New Webhook > Copy Webhook URL

channel settings via gear icon

create webhook inside channel settings

copy webhook URL

  • Go to your repo's settings > Webhooks > Add webhook

  • Paste the webhook URL to Payload URL, make sure to append /github. You can choose which event(s) to listen. For this example I set it to Send me everything.:

payload URL

  • Proof:

github repo

discord channel

Top comments (0)