This post written by MiniTool team mainly teaches you how to make a Discord webhook and link it with the GitHub repository. Unlike other code manuals, it shows a method to operate in the Discord app and GitHub webpage. With only a few steps, you will get your GitHub messages posted to your Discord text channel automatically!

What Are Webhooks Discord?

What Do Webhooks Do in Discord?

Discord Webhooks are Discord’s built-in feature that can get automated messages and data updates sent to a text channel in your server. To be exact, with webhooks, you are actually sending messages into Discord from another platform.

If you create a webhook endpoint in your server, you will generate a Webhook URL that you are able to drop into many other different services to link the two.

Yet, webhooks need another website to use. Some websites and services are built to incorporate webhooks and send messages out easily, while some are not.

Websites/Services Can Use Webhooks:

  • GitHub
  • CircleCI
  • DataDog
  • GitLab
  • Ubuntu

Websites/Services Cannot Use Webhooks:

  • Twitch
  • YouTube
  • Facebook
  • Nelly The Hamster
How to Clone GitHub Repository and Duplicate the Repository?
How to Clone GitHub Repository and Duplicate the Repository?

How to do GitHub clone of its repository? How to clone a project from GitHub? Generally, there are 4 options: use HTTPS, use SSH, use CLI, and via desktop.

Read More

How to Make Webhooks Discord?

If you’d like to update your Discord server with GitHub commits & pull requests, or track analytics by DataDog or any similar process, just read below!

Way 1. How to Make Discord Webhooks?

1. Log into your Discord account.

2. Go to the target Server and navigate to Server Settings > Integrations.

3. Click the Create Webhook button.

Create Discord Webhook

4. In the next screen, upload an image as your avatar, give a name to the new webhook, and select which text channel it hooks to.

Specify Discord Webhook

You can also delete this webhook or copy the URL of this webhook here. If you want to create more webhooks, just continue by clicking the New Webhook button.

[Tutorials] How to Add/Assign/Edit/Remove Roles in Discord?
[Tutorials] How to Add/Assign/Edit/Remove Roles in Discord?

How to add roles to a Discord server? How to add a role to someone on Discord? How to assign roles in Discord? How to create, edit, and delete a role?

Read More

How to Delete Discord Webhooks?

Besides creating a Discord webhook, you can also further manage webhooks Discord. The way to edit or remove a webhook from your Discord server is easy. Just move to Server Settings > Integrations, click View Webhooks in the Integrations tab, unfold the target webhook on the next page, and modify or delete webhook.

How to Use Webhooks Discord?

Now, you have your own URL that you can link to a lot of other websites to receive messages from. Then, how to set up webhooks Discord? Below is an example of establishing webhooks with GitHub.

You can rely on Discord’s webhooks to send any code merge or push updates in a GitHub repository of yours into a text channel in your Discord server.

  1. Copy Target Webhook URL. As mentioned in the above content, you can copy the URL of a webhook in the webhooks list in your Server Settings. Just find the right webhook based on which text channel you want your repo updates to post messages to.
  2. Add Webhook URL into Repository Settings. Select which GitHub repository you would like to get updates from and go to its Settings > Webhooks. Then, click the Add webhook button and paste the Discord webhook URL (append “/github” at the end of the URL) into the Payload URL column

Besides, you are recommended to stick with application/json for content type for Discord’s webhook format really likes JSON. Next, choose which events would you like to trigger this webhook, just the push event, send me everything, or let me select individual events.

Finally, click the Add webhook button in the GitHub repository to finish.

[Guide] Discord DM/Server Video Call on Desktop/Mobile/Web
[Guide] Discord DM/Server Video Call on Desktop/Mobile/Web

Can you video call on Discord? How to carry out Discord video call in different places (DM or server) & on different devices (desktop, mobile, or web browser)?

Read More

Furthermore, if you have got a knack for JSON application building or HTTP POST requests and would like to customize your own webhooks, you can seek deep through some more info in the Discord webhook developer tutorial.

  • Linkedin
  • Reddit