docs: the Discord bot login stays on @jared
Lint / Shell (shellcheck) (push) Successful in 19s
Lint / JS (eslint) (push) Successful in 9s
Lint / No secrets in webhook configs (push) Successful in 5s
Lint / Landing page is rendered (matrix (push) Successful in 8s
Lint / Python (ruff) (push) Successful in 7s
Lint / Python deps (pip-audit) (push) Successful in 53s
Lint / Secret scan (gitleaks) (push) Successful in 8s
Lint / Shell (shellcheck) (pull_request) Successful in 19s
Lint / JS (eslint) (pull_request) Successful in 17s
Lint / No secrets in webhook configs (pull_request) Successful in 6s
Lint / Landing page is rendered (matrix (pull_request) Successful in 5s
Lint / Python (ruff) (pull_request) Successful in 5s
Lint / Python deps (pip-audit) (pull_request) Successful in 1m45s
Lint / Secret scan (gitleaks) (pull_request) Successful in 6s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017PCb59uY3UKqDqt7B6hzd5
This commit is contained in:
Lotus CI
2026-10-28 22:14:37 -04:00
co-authored by Claude Opus 5.5
parent 894dd5277e
commit 7cf68b6850
+5 -5
View File
@@ -427,11 +427,11 @@ can't overwrite the room's name and icon with the Discord channel's.
**Bot profile:** `@discordbot` shows as "Discord Bridge" with the Discord logo
(`discord-bridge/bot-avatar.png`). To reapply it: `pct exec 151 -- bash /opt/matrix-config/discord-bridge/set-bot-profile.sh`.
**Who the Discord bot login belongs to:** whichever Matrix account ran `login-token bot` sends its own
messages to Discord *as the bot* ("matrix-bridge APP"), not through the relay webhook. So it lives on a
dedicated account, `@discord-relay:matrix.lotusguild.org`, which never chats. Everyone else, admins
included, stays logged out of the bridge and is relayed under their own name and avatar. Logging the
bot in on one account automatically logs out any other account that had it.
**Who the Discord bot login belongs to:** `@jared` holds it. The account holding the login sends its
own messages to Discord *as the bot* ("matrix-bridge APP"), because the bridge prefers a real Discord
connection over the webhook. Everyone else is relayed through the channel webhook under their own name
and avatar. To change that, log the bot in from a dedicated non-chatting account; that automatically
logs out whichever account held it before.
**Rotating the bot token:** reset it in the Developer Portal, then DM the bridge bot `logout` and
`login-token bot <new token>`.