Change the radio button to "Send me everything" and then click the Add webhook button.Īt this point, you should be notified whenever anything happens with this repository. Be sure to change the Content type to application/json. Next, choose Add webhook from the GitHub settings page. Discord provides the URL for the Webhook, and you provide this URL to GitHub so that GitHub can make requests to this URL whenever something of interest happens. Click on Settings and choose the Webhooks menu:Īlthough nothing really jumps out and says it, GitHub is the producer of events and Discord is the consumer. Now go to GitHub, sign in, and navigate to one of your repositories from which you'd like to receive notifications in Discord. Then you can exit out of the settings and just watch the channel, which should start to have content automatically added to it once you complete the next steps. The important thing is the URL at the bottom. Then, click on Webhooks menu option and create a new webhook: You can tweak the settings on the channel to control who should or shouldn't have access to it. Once you have a server set up, I recommend configuring a text channel just for your GitHub notifications: If you don't have one, you can set one up for free. Configure Discord Webhooksįirst, you need to have a Discord server. There's a great write-up on how to do this here, which I'm basically enhancing here for my own purposes (and in case that resource ever disappears). One of the easier ways to configure notifications from things you care about as a developer to your Discord server is with GitHub web hooks. You can easily add bots and notifications from other systems, including your own ASP.NET web applications, using web hooks. It's worked quite well and is completely free for our needs. I've started using Discord more and more for things like my private group coaching program focused on software developers.
0 Comments
Leave a Reply. |