Skip to content

Setting up a webhook

FabianAdrian edited this page Oct 3, 2024 · 3 revisions

Start by clicking the "Edit Channel" icon on the right side of the text channel.

edit-channel

Next navigate to the "Integrations" tab on the sidebar and click the "Create Webhook" button.

Tip

To circumvent Discord's rate limits, it's recommended to separate each of the webhooks into their own text channels. (1 webhook per text channel)

integrations-create-webhook

Here you can configure the name and icon of the webhook as well as copy the Webhook URL.

webhook-settings

When you're done, press the "Copy Webhook URL" button. This will copy the URL to the clipboard.

Navigate to the WebhookLogger's main configuration (config.yml) and paste the copied URL into the webhooks section like so:

# You should only configure 1 webhook per Discord channel to avoid rate limits.
# Available events: CHAT, COMMAND, DEATH and JOINQUIT
webhooks:
- url: 'https://discord.com/api/webhooks/<id>/<token>'
  events:
  - CHAT

Make sure to save the configuration after making changes. When you're done run the command /webhooklogger reload.

Clone this wiki locally