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

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

Top comments (0)

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More