Skip to content

Connecting your message to the webhook

Connor edited this page Mar 1, 2019 · 1 revision
  1. Open your Discord client and open the settings of the channel you want your message to send to.
    Step 1
  2. Click Webhooks on the left panel, then click Create Webhook.
    Step 2
  3. Scroll down to Webhook URL, click Copy.
    Step 3
  4. 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";
};
  1. 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.

Video tutorial

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

Clone this wiki locally