Discord: add gateway proxy docs and tests (#10400) (thanks @winter-loo)

This commit is contained in:
Shadow
2026-02-13 13:14:19 -06:00
committed by Shadow
parent e55431bf84
commit 5645f227f6
5 changed files with 144 additions and 4 deletions

View File

@@ -330,6 +330,37 @@ See [Slash commands](/tools/slash-commands) for command catalog and behavior.
</Accordion>
<Accordion title="Gateway proxy">
Route Discord gateway WebSocket traffic through an HTTP(S) proxy with `channels.discord.proxy`.
```json5
{
channels: {
discord: {
proxy: "http://proxy.example:8080",
},
},
}
```
Per-account override:
```json5
{
channels: {
discord: {
accounts: {
primary: {
proxy: "http://proxy.example:8080",
},
},
},
},
}
```
</Accordion>
<Accordion title="PluralKit support">
Enable PluralKit resolution to map proxied messages to system member identity: