
In my server, I've created a text channel labeled #general-chat and I want my repo updates to post messages here! Get the webhook URL for the server/channel you want to receive messages:
#Reddit post discord webook code
You can use Discord's webhooks to send any code merge or push updates in a repository of yours into a text channel in your server.ġ. Since webhooks can't really function on their own and need to be linked to another website to function as intended, I figured it'd be best to include a sample integration for any of you GitHub enthusiasts and code-pushers. Quick Example: GitHub Webhook Integration You now have your own handy URL / pneumatic tube schoomp-er that you can link to more websites to receive messages from. Name your Webhook: Good for distinguishing multiple webhooks for multiple different services.Choose what channel the Webhook posts to: By selecting the desired text channel in the dropdown menu.Edit the avatar: By clicking the avatar next to the Name in the top left.Click the " Create Webhook" button to create a new webhook!.Open your Server Settings and head into the Integrations tab:.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! Here's a little handy reference list: Can use webhooks: Some services and websites are built to easily incorporate webhooks and send messages outwards, but some aren't. 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). 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.īy 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.

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.
