Skip to content

Discord webhook

RedPolygon edited this page Apr 15, 2022 · 2 revisions

Since version 1.7, WebStats can be used as a Discord webhook so you can display your stats in your Discord server. This page will walk you through the basic installation. Refer to the config file for more explanation for the configuration options.

These are the basic installation steps: (also see Discord's own documentation)

  1. Go to your Discord server's settings > Integrations
  2. Click Webhooks > new webhook
  3. Set the channel you want the stats to appear in. You don't need to give it a name or icon — WebStats will set that itself.
  4. Click "Copy Webhook URL" and paste it in config.yml at discord-webhook.url. Don't forget to un-comment the discord-webhook config section to actually enable the webhook.
  5. See the config file page to learn more about how to configure the webhook.
Clone this wiki locally