Skip to content

Instantly share code, notes, and snippets.

@Fuzzwah
Created May 17, 2021 21:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Fuzzwah/d8e174bc6337975b1e53e6d872d67093 to your computer and use it in GitHub Desktop.
Save Fuzzwah/d8e174bc6337975b1e53e6d872d67093 to your computer and use it in GitHub Desktop.
Simple Github -> Discord webhook

Step 1 - Make a Discord Webhook

  1. Find the Discord channel in which you would like to send commits and other updates

  2. In the settings for that channel, find the Webhooks option and create a new webhook. Note: Do NOT give this URL out to the public. Anyone or service can post messages to this channel, without even needing to be in the server. Keep it safe! discord-webhook

Step 2 - Set up the webhook on Github

  1. Navigate to your repository on Github, and open the Settings settings

  2. Select Add Webhook add-webhook

  3. Paste in the webhook url and append /github to the end. Select "Send me everything", set the type to application/json, and then Add Webhook webhook-settings

  4. Test it by updating something or starring the repository! If it works, you're all set! example

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment