diff --git a/Section-Discord-(basic).md b/Section-Discord-(basic).md index 35afbb5..5a79c9f 100644 --- a/Section-Discord-(basic).md +++ b/Section-Discord-(basic).md @@ -141,7 +141,7 @@ SyncTopic=false 2. Specify the name and channel, and copy the resulting webhook URL 3. Paste in your gateway as `WebhookURL="https://discordapp.com/api/webhooks/529689699999999999/Da-H4RRY_P0-kjdsknkfgfjghf` -If matterbridge does not have permissions to modify webhooks, you will need a webhook per channel: +If your Discord bot has a role that **does not** have permissions to modify webhooks, you will need a webhook per channel: ```toml [[gateway]] @@ -157,20 +157,15 @@ channel="testing" WebhookURL="https://discordapp.com/api/webhooks/thing1/thing2" ``` -If matterbridge **does** have permissions to modify webhooks, you can use one webhook for the gateway: +If your Discord bot has a role that **does** have permissions to modify webhooks, you can use one webhook (configured for any channel on the same Discord server) for all channels on that Server/Guild: ```toml -[[gateway]] -name="testing" -enable=true -WebhookURL="https://discordapp.com/api/webhooks/thing1/thing2" - -[[gateway.inout]] -account="slack.myworkspace" -channel="testing" -[[gateway.inout]] -account="discord.myserver" -channel="testing" +[discord] + [discord.mydiscord] + Token="YOUR_TOKEN_HERE" + Server="name or uid of guild" # picked from guilds the bot is connected to + WebhookURL="https://discordapp.com/api/webhooks/thing1/thing2" + RemoteNickFormat="{NICK} via {PROTOCOL}" ```