-
Notifications
You must be signed in to change notification settings - Fork 8
Connecting your message to the webhook
Connor edited this page Mar 1, 2019
·
1 revision
- Open your Discord client and open the settings of the channel you want your message to send to.
- Click
Webhooks
on the left panel, then clickCreate Webhook
. - Scroll down to
Webhook URL
, clickCopy
. - Create a unique property inside CfgDiscordEmbedWebhooks and remove the base URL.
class CfgDiscordEmbedWebhooks {
// https://discordapp.com/api/webhooks/000000000000000000/XXXXXXX_XXXXXXXXXXXXXXX_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Example="000000000000000000/XXXXXXX_XXXXXXXXXXXXXXX_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";
};
- Set
webhook
in your config template to the new property name, or use the new property name in the first element of your SQF build array.
Here is a video tutorial showing how to set up your webhook. There is no audio to it but it shows you exactly what to do.
https://youtu.be/cEWo6Anlliw