How to get GitHub Notifications in Discord Server?
source link: https://dev.to/chapagainashik/how-to-get-github-notifications-in-discord-server-2k8i
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
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
.
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
Integrations
and 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 hook
URL with/github
on 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 tick
on 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.md
with 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:
Recommend
-
7
Get push notifications for Laravel Forge deployments ...
-
12
Discord Music bot A simple discord bot that helps you manage your server by providing useful commands like playing music or deleting text messages. You can find the tutorial about building a discord music bot
-
12
Discord Music Bot The perfect music bot for your Discord server! Features Highlights Simple & easy to us...
-
5
Sniper An easy to run simple bot that lets you snipe messages in your Discord server. Setup Node.js 16.6.0 or newer is required. $ git clone https://github.com/DankMemer/snipe...
-
2
IBM Cloud Event Notifications Go Admin SDK 0.1.3 Go client library to interact with the various IBM Cloud Event Notifications APIs. Table of...
-
2
Java server SDK for IBM Cloud Event Notifications service Version 0.1.4 Java client library to interact with various IBM Cloud Event Notifications Servic...
-
7
IBM Cloud Event Notifications Python Admin SDK 0.1.5 Python client library to interact with various IBM Cloud Event Notifications APIs. Table...
-
8
IBM Cloud Event Notifications Node.js SDK Node.js client library to interact with various Event Notifications APIs. Table of Contents...
-
7
Xbox November update has direct Discord voice joining, sale notifications, and more...
-
3
How I use Discord Webhooks for personal notificationsSubscribe to my newsletter and never miss my upcoming articlesPlay this article
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK