Update Discord docs to match current recommended flow; fixes https://github.com/42wim/matterbridge/issues/1944

Nick 2023-02-12 02:40:01 -05:00
parent 5ce5a10d0f
commit a03ef7c3cc

@ -1,4 +1,6 @@
## Specification ## Configuration
The [[bot setup|Discord-bot-setup]] takes a bit of time, but it's necessary. Make sure you also get the "Members Intent" checkbox.
**Basic example** **Basic example**
```toml ```toml
@ -11,17 +13,15 @@
# If you want roles/groups mentions to be shown with names instead of ID, # If you want roles/groups mentions to be shown with names instead of ID,
# you'll need to give your bot the "Manage Roles" permission. # you'll need to give your bot the "Manage Roles" permission.
Token="YOUR_TOKEN_HERE" Token="YOUR_TOKEN_HERE"
Server="name or uid of guild" # if you want to bridge https://discord.com/channels/8888888888888/7777777777777777, then this should be 8888888888888
Server="name or uid of guild" # picked from guilds the bot is connected to AutoWebhooks=true
RemoteNickFormat="[{PROTOCOL}] <{NICK}> " RemoteNickFormat="[{PROTOCOL}] <{NICK}> "
# Map threads from other bridges on discord replies # Map threads from other bridges on discord replies
PreserveThreading=true PreserveThreading=true
``` ```
The [bot setup](https://github.com/42wim/matterbridge/wiki/Discord-bot-setup) takes a bit of time, but it's necessary. Make sure you also get the "Members Intent" checkbox.
**Full list** ## Specification
<details><summary>Entire set of options that can be used in a Discord gateway</summary> <details><summary>Entire set of options that can be used in a Discord gateway</summary>