Are you interested in receiving all of your GitHub notifications on your Discord server?
Here's how to do that.
We will go over how to get GitHub notifications in Discord Server in this article. Now, let's begin.
To begin, I'm assuming you have a Discord and GitHub account.
Index
Let's start by creating a Discord Server.
Creating Discord Server
-
In the bottom left corner, click on the
+icon.
-
Once you've done that, click on
Create My Own.
-
Choose
For me and my friends
-
Now, give your server a name. After that, select
Create.
Our Amazing SponsorsDigitalOcean offers a simple and reliable cloud hosting solution that enables developers to get their website or application up and running quickly.View Website
Laravel News keeps you up to date with everything Laravel. Everything from framework news to new community packages, Laravel tutorials, and more.View Website
A Laravel Starter Kit that includes Authentication, User Dashboard, Edit Profile, and a set of UI Components. Learn more about the DevDojo sponsorship program and see your logo here to get your brand in front of thousands of developers.View Website
Now, the discord server is ready, if you want to get Github Notification notices delivered to a separate text channel, you may create a new one.

Now, let's create a GitHub repo.
Creating GitHub Repo
- Click here to create a new GitHub repo.
- Give your repo a name and click
Create Repository.
Now, our GitHub repo is also ready, now, it's time to setup our Discord server to receive GitHub notifications.
Receiving Notifications
- Click on the ⚙️ icon just right of the text channel where you want to receive notifications.

- Next, click on
Integrationsand then click onCreate Webhook.
- Now, a new webhook is created, if you want to change it's name, you can do so. But I'll leave it as it is.

- Then click on
Copy Webhook URL.
Once the Webhook URL is copied,
- Go to your GitHub repo and click on settings.

- Then click on
Webhooks. - Next, click on
Add webhook.
Then you might need to confirm your password. - Now add the
web hookURL with/githubon the end inPayload URL.
- Now, set the content type to
application/json. - In the
Which events would you like to trigger this webhook?section, selectSend me everything.to receive every GitHub notification. - Now click on
Add Webhook, and now, you can receive all GitHub notifications in your discord server .🥳🥳🥳
If everything was set up perfectly, then you should see the
green tickon the webhook.
Testing
For testing, let's clone the clone and push a commit.
- Clone the repo
git clone https://github.com/YOUR_USERNAME/YOUR_REPO.git
- Create a new random file, I will create
README.mdwith following content.
# Testing
- Run the following commands
git add .
git commit -m "Added readme.md"
git branch -M main
git push -u origin main
- Now, go to your discord server and you should see something like this.

Conclusion
This was a short article on how to receive GitHub notification to your Discord Server. Hope you like this article. If you got any problem or have any feedback or suggestion for me, comment it.
Connect with me:

Comments (0)