discord-bridge: bot profile, down alert, login-owner account #48

Merged
jared merged 1 commits from discord-bridge-profile into main 2026-10-28 22:00:31 -04:00
Owner
  • discord-bridge/bot-avatar.png: a 512px white Discord logo (simple-icons glyph) on Discord blurple #5865F2.
  • discord-bridge/set-bot-profile.sh: uploads the avatar as @discordbot using the appservice token (read locally from the registration, never printed), sets appservice.bot.avatar and the display name "Discord Bridge" in the live config, then restarts the bridge. Safe to re-run. The template's display name is updated to match.
  • README:
    • adds the new Grafana rule Discord Bridge Down (fg2na25ww41dsd, Matrix folder, Infrastructure group) to the alert table;
    • explains why the Discord bot login belongs on a dedicated @discord-relay account. Whoever holds the login posts to Discord as the bot itself ("matrix-bridge APP") instead of through the relay webhook under their own name. Logging the bot in elsewhere automatically logs the previous holder out.

🤖 Generated with Claude Code

https://claude.ai/code/session_017PCb59uY3UKqDqt7B6hzd5

- `discord-bridge/bot-avatar.png`: a 512px white Discord logo (simple-icons glyph) on Discord blurple `#5865F2`. - `discord-bridge/set-bot-profile.sh`: uploads the avatar as `@discordbot` using the appservice token (read locally from the registration, never printed), sets `appservice.bot.avatar` and the display name "Discord Bridge" in the live config, then restarts the bridge. Safe to re-run. The template's display name is updated to match. - README: - adds the new Grafana rule **Discord Bridge Down** (`fg2na25ww41dsd`, Matrix folder, Infrastructure group) to the alert table; - explains why the Discord bot login belongs on a dedicated `@discord-relay` account. Whoever holds the login posts to Discord as the bot itself ("matrix-bridge APP") instead of through the relay webhook under their own name. Logging the bot in elsewhere automatically logs the previous holder out. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_017PCb59uY3UKqDqt7B6hzd5
jared added 1 commit 2026-10-28 21:58:44 -04:00
discord-bridge: bot profile, down alert, login-owner account
Lint / JS (eslint) (push) Successful in 9s
Lint / Shell (shellcheck) (push) Successful in 10s
Lint / No secrets in webhook configs (push) Successful in 5s
Lint / Landing page is rendered (matrix (push) Successful in 4s
Lint / Python (ruff) (push) Successful in 6s
Lint / Secret scan (gitleaks) (push) Successful in 8s
Lint / Shell (shellcheck) (pull_request) Successful in 11s
Lint / JS (eslint) (pull_request) Successful in 8s
Lint / No secrets in webhook configs (pull_request) Successful in 5s
Lint / Landing page is rendered (matrix (pull_request) Successful in 5s
Lint / Python deps (pip-audit) (push) Successful in 54s
Lint / Python (ruff) (pull_request) Successful in 10s
Lint / Secret scan (gitleaks) (pull_request) Successful in 8s
Lint / Python deps (pip-audit) (pull_request) Successful in 41s
0386474118
Add the Discord-logo avatar and a script that uploads it as the bridge
bot and sets the display name to "Discord Bridge". Document the new
"Discord Bridge Down" Grafana alert, and why the bot login belongs on a
dedicated non-chatting account: whoever holds it sends to Discord as the
bot instead of through the relay webhook.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017PCb59uY3UKqDqt7B6hzd5
jared scheduled this pull request to auto merge when all checks succeed 2026-10-28 21:58:50 -04:00
jared merged commit 894dd5277e into main 2026-10-28 22:00:31 -04:00
jared deleted branch discord-bridge-profile 2026-10-28 22:00:31 -04:00
Sign in to join this conversation.