Discord's built in Webhooks function as an easy way to get automated messages and data updates sent to a text channel in your server. Think of them as one of those fancy pneumatic tube things you used to love sending money into at a bank and watch disappear, but instead of never seeing your money again, you're actually sending messages into Discord from another platform. By creating a webhook endpoint in your server, you'll generate a Webhook URL that you can drop into a number of different other services to link the two. While everyone absolutely loves pneumatic tubes (100% true), it's important to note that webhooks require another website to use (though programming-inclined users can make their own tube schoomper themselves). Some services and websites are built to easily incorporate webhooks and send messages outwards, but some aren't. Here's a little handy reference list:
Making a Webhook
With that in mind, if you want to update your Discord server with GitHub commits and pull requests or track analytics from DataDog or anything similar, here's how!
1. You need to create your own dedicated server and find the server settings
2.Open your Server Settings and head into the Integrations tab，and Click the "Create Webhook" button to create a new webhook!
3.You'll have a few options here. You can:
Edit the avatar: By clicking the avatar next to the Name in the top left Choose what channel the Webhook posts to: By selecting the desired text channel in the dropdown menu. Name your Webhook: Good for distinguishing multiple webhooks for multiple different services.
4.Fill in the copied webhook URL into the input box, select the information category you want, and click Apply to successfully associate it