Terasology/docs/Discord-Integrations.md
Tobias Nett 2d8ef61e80
doc: move wiki content to docsify page (#5155)
* rename docs to docs-pre-merge
* add wiki content based on commit e4d4b10424f24eed6583ea0e998da8aa32a27a3f
* replace wikilinks with markdown links in _sidebar
* use sidebar link text as title via ` autoHeader: true` 
* rename files with `:` or `,` in the name
* use the wiki Home page as entry point instead of the repo README
2023-10-31 14:46:35 +01:00

1.2 KiB

How it works

  • webhook is configured on Discord server

  • GitHub repo is configured to push html post updates to Discord webhook

  • Discord webhook receives data and posts it as a message to the selected channel

    grafik

How to set up / update Discord webhook

  1. Go to Server Settings

  2. In the settings, go to Integrations

  3. Select Show Webhooks

  4. Create new webhook or edit existing one

    grafik

  5. Copy the webhook URL

How to set up / update GitHub webhook integration

  1. Go to the desired repo's Settings

  2. In the settings, go to Webhooks

  3. Create new webhook integration or edit existing one

    grafik

  4. Insert the webhook URL copied from the Discord settings into the "Payload URL" field

  5. In the "Payload URL" field, append /github to the webhook URL

  6. Ensure "Content type" field is set to application/json

Note: Consider selecting individual events to avoid spamming the target channel on Discord with irrelevant messages.