What Are Webhooks On Discord?

How do you create webhooks and use it for Discord? Here's a super simple guide to webhooks and how you can make your own!

Discord provides the ability to customize any server thoroughly. For extensive customization, most users will recommend adding bots. But, if you want to take your custom server to the next level, Webhooks should be considered.

We’ve explored Discord servers/communities to determine how they’ve implemented this function and how they use it.

This article will cover everything you need to know about webhooks on Discord.

Let’s get into it!`

Table of ContentsShow

What Are Webhooks?

Most often, webhooks on Discord are used to push notifications.

These notifications are sent as messages, updates, or any other type of information to a text channel. With proper implementation, all of this is automated. With such automation, the lives of an admin/mod get just a little bit easier.

However, not all websites or applications support Discord’s webhooks. Some may be very easy to implement, while others may require a bit of programming knowledge.

To help you find which websites are supported, here’s a shortlist from Discord’s official support post for webhooks:

Support Discord webhooks:

  • GitHub
  • CircleCI
  • DataDog

Don’t support webhooks:

  • YouTube
  • Twitch
  • Facebook

Creating A Webhook

We’ve noticed that most servers are adding GitHub webhooks. If you want to integrate GitHub commit push notifications to your Discord server, follow the guide below:

  1. First things first, we’ll need Discord and a server along with it. We’ll assume that you already have one. However, if you do not, we suggest creating a server to continue with the guide.
  2. Now, we’ll need to create a text channel where the notifications will be sent. Click on the plus icon, add a name and click Create Channel.
    creating Discord text channel with GitHub commit push notifications
  3. Now we’ll need to grab the webhook. First, go to Server Settings (click on your server name top-left). In there, select the Integrations tab.
    Discord Server Settings
  4. Inside Integrations is where you can grab the webhook. You can do that easily by clicking on the Create Webhook button.
    Discord Create Webhook button
  5. If needed, you can edit the name of the webhook, change its avatar and select the appropriate channel. Next, choose the text channel you previously created.
  6. Finally, click Copy Webhook URL.
    Discord Copy Webhook URL

Now you have a webhook ready for your server. Now it’s time to use the URL in GitHub to implement it.

To do that, you will need to head over to your GitHub repository. From there, go to Settings and then select the Webhooks tab. This is where you will see the Add webhook button.

GitHub Settings Webhooks tab Add webhook button

Make sure you still have the right webhook URL copied, and then paste it under Payload URL. For Content type select application/json. Leave SSL verification as is.

Below that, make sure that you have selected Just the push event.

When you’ve inputted everything correctly, just hit Add Webhook. And that’s it!

From now on, whenever you update your repo, a notification will be pushed to your Discord server.

Related Reads

How To Leave A Discord Server
How To Leave A Discord Server
Branko Gapo
Branko Gapo

Keeping up with the incredibly fast evolution of computer technology is impossible. Branko aims to use his knowledge on this matter to share news and information on all the latest essential technological innovations and advancements.