From 0587f180639d7259eb707de7676186720df15ac1 Mon Sep 17 00:00:00 2001 From: Lotus CI Date: Wed, 28 Oct 2026 21:45:21 -0400 Subject: [PATCH] docs: Discord bridge is live; linking notes Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_017PCb59uY3UKqDqt7B6hzd5 --- README.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a9fd466..8e555b8 100644 --- a/README.md +++ b/README.md @@ -330,6 +330,7 @@ The token in `draupnir/production.yaml` in this repo is **intentionally redacted | Commands | `!ou56mVZQ8ZB7AhDYPmBV5_BR28WMZ4x5zwZkPCqjq1s` | restricted (Space members) | | Memes | `!GK6v5cLEEnowIooQJv5jECfISUjADjt8aKhWv9VbG5U` | restricted (Space members) | | Music | `!ktQu0gavhjpCMkgxk8SYdb6mnJRY-u7mY7_KfksV0SU` | restricted (Space members) | +| Discord bridge (Discord channel `1565159372122882070`) | `!hm4ghdqvSYMokV30Ow-0TKK5hMZRSXfDiHOIzrK-c_A` | invite | | Voice Room | `!ARbRFSPNp2U0MslWTBGoTT3gbmJJ25dPRL6enQntvPo` | restricted (Space members) | | Management | `!mEvR5fe3jMmzwd-FwNygD72OY_yu8H3UP_N-57oK7MI` | invite | | Cool Kids | `!R7DT3QZHG9P8QQvX6zsZYxjkKgmUucxDz_n31qNrC94` | invite | @@ -415,7 +416,13 @@ Read Message History, Manage Webhooks, Attach Files, Add Reactions, Manage Messa **Linking a room:** 1. DM `@discordbot:matrix.lotusguild.org`: `login-token bot ` (the token lives only in the bridge DB) 2. `guilds bridge ` — the server ID comes from Discord Developer Mode → right-click -3. In the Matrix room: invite `@discordbot`, then `!discord bridge ` and `!discord set-relay --create` +3. In the Matrix room: invite `@discordbot`, then `!discord bridge ` and `!discord set-relay --create ` + +Skip `guilds bridge`: it sets the guild to create a Matrix room for every channel on its first message. +`bridge` alone bumps the guild to `if-portal-exists`. To move a link to another room, run +`!discord bridge --replace ` there (never `--replace=delete`, which kicks everyone from the +old room). The relay webhook stays with the channel. Keep `@discordbot` at the default power level so it +can't overwrite the room's name and icon with the Discord channel's. **Rotating the bot token:** reset it in the Developer Portal, then DM the bridge bot `logout` and `login-token bot `. @@ -867,7 +874,7 @@ Leaving a space does **not** leave its child rooms; they are independent rooms w - [x] Per-service JS transformation functions (stored in git, auto-deployed) - [x] Per-service virtual user avatars - [x] NPM reverse proxy for `/webhook` path -- [ ] mautrix-discord bridge (bot login + webhook relay) — config and installer in `discord-bridge/` +- [x] mautrix-discord bridge (bot login + webhook relay) — config and installer in `discord-bridge/`, live since 2026-10-28 ### Room Structure - [x] The Lotus Guild space with all core rooms