Copy it and save it somewhere, as we will use it later. Then at the bottom, you'll get the unique Webhook URL. Again, that image can later be customized from the JSON post request. You can also adjust the channel, and add a default image. You'll then be able to specify the name, which is the name that is used when sending messages if none is specifided in the JSON post request. Then head to the Webhooks tab, and hit Create Webhook. ![]() To create a Webhook, click the cog next to the channel in which you wish to set up your Webhook: This works by sending a post request with some JSON data to a unique URL Discord provides when you create your Webhook.ĭiscord provides a feature to create Webhooks, but note that it is only available in server channels, not in direct messages. ![]() Let's see how to easily set one up in order for you to integrate it with your app, or even just have fun sending custom messages. Well did you know that it is possible to send automated messages in Discord servers directly from JavaScript? It's called Webhooks. I'm sure you've heard of Discord, the all-in-one voice and text chat app, and maybe you're even using it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |