-
Notifications
You must be signed in to change notification settings - Fork 10
Discord Server Setup
aussig edited this page Mar 1, 2024
·
3 revisions
The plugin generates Discord-ready text for copying-and-pasting manually into Discord and it also supports direct posting into a Discord server of your choice using a webhook. You will need to create this webhook on your Discord server first.
The steps are as follows:
- In your Discord server, click the Cog / Gear icon ⚙ alongside the channel name.
- In the menu that appears, click Integrations.
- In the Webhooks panel, click Create Webhook. (If you have any webhooks already set up on the channel, instead click View Webhooks and then New Webhook).
- In the Name field, give your webhook a name, for example 'BGS Tally' would be sensible.
- Click Copy Webhook URL.
- In EDMC, go to File → Settings → BGS Tally and paste the Webhook URL into the approriate Webhook URL field in the Discord Webhooks table. You can overwrite an existing entry, or create a new line for this webhook by right-clicking on one of the existing row numbers and selecting Insert Rows. The Nickname field is for your own use, it would be sensible to use the name of the Discord server.
- Optionally, you can also set a username that the Discord post will appear as - type this into the Post to Discord as field. It would be sensible to type in your Discord username, but you can use anything you like.
- Use the checkboxes in the table to set which types of information go to each Discord server. Once the connection is configured, a new button will appear on the BGS Tally windows titled Post to Discord. This will automatically send your report to your Discord server via the Webhook you have configured.
If you post again within the same tick, the plugin will update your previous post, rather than creating a second post.
Discord supports threads within channels, and you can configure BGS-Tally to post to a thread if you prefer. To do this, follow the above steps to generate the webhook first, but then as a final step you will need to add the Thread ID to the webhook URL. The easiest way to do this is:
- Switch 'Developer Mode' on in Discord User settings → Advanced
- Right-click the thread name, and select 'Copy Thread ID'
- Append
?thread_id=xxxxx
to the webhook URL in the BGS-Tally settings, replacingxxxxx
with the Thread ID you copied in the previous step.