Skip to content

Sending data to your Discord webhook

Yuuto edited this page Aug 31, 2023 · 1 revision

Configuring the webhook URL

First of all, open the src/config.js file and fill in your webhook URL.

In your module

In your module, import the webhook utils:

const Webhook = require('../../utils/Webhook');

Then run the Webhook.sendEmbed function to send an embed.

Clone this wiki locally