-
Find the Discord channel in which you would like to send commits and other updates
-
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!
-
Star
(1,214)
You must be signed in to star a gist -
Fork
(164)
You must be signed in to fork a gist
-
-
Save jagrosh/5b1761213e33fc5b54ec7f6379034a22 to your computer and use it in GitHub Desktop.
Do you have any more questions for the noob?
Do you have any more questions for the noob?
I don't understand.
Why is /github at the end of the URL needed?
Got it working with it, but not without it.
Why is
/githubat the end of the URL needed? Got it working with it, but not without it.
GitHub sends webooks in a certain format, but Discord expects webhook payloads to be formatted differently. This is why the default webhook URL will not work. So to make it easier to connect GitHub webhooks to Discord channels, Discord added an additional endpoint (/github) that accepts payloads formatted in the same way that GitHub sends them.
Makes sense.
I wondered how discord know which property to display as message/parses the json payload.
Is documented here: https://support.discord.com/hc/en/articles/228383668
Thanks!
thanks! Saved me a lot of hassle
is it possible to add a "@everyone" mention ?





What does any of this have to do with Instagram?