-
Create a webhook in your server by opening your server settings -> integrations -> webhooks;
-
Create your webhook & copy it's URL. From that URL you will need the webhook's token and id.
-
Send a POST request to
https://discord.com/api/webhooks/{webhoook.id}/{webhook.token}using the token and id you just acquired.
You just sent a message!
For further info visit the Webhook Docs