Create a Discord Server.
Go to server settings.
Look for Integrations.
Create a webhook.
Click on New Webhook.
Modify your webhook: set its channel and save changes.
Click on "Copy Webhook URL".
Copy and paste the Webhook URL into the macro's settings:
Config tab -> Discord
Enable Discord Webhook URL