From 5a9ad5f3dbded217a47ff6bd1d0698dac18a7836 Mon Sep 17 00:00:00 2001 From: Brian O'Kelley Date: Wed, 7 Jan 2026 05:32:19 -0800 Subject: [PATCH] fix: restrict billing channel picker to private channels only MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit For security, billing notifications should not go to public channels. This change: - Only shows private channels in the billing channel dropdown - Adds server-side validation to reject public channel IDs - Shows a helpful message when no private channels are found 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- .changeset/slimy-singers-care.md | 2 ++ server/public/admin-settings.html | 23 ++++++++++++++--------- server/src/routes/admin/settings.ts | 21 ++++++++++++++++++--- 3 files changed, 34 insertions(+), 12 deletions(-) create mode 100644 .changeset/slimy-singers-care.md diff --git a/.changeset/slimy-singers-care.md b/.changeset/slimy-singers-care.md new file mode 100644 index 000000000..a845151cc --- /dev/null +++ b/.changeset/slimy-singers-care.md @@ -0,0 +1,2 @@ +--- +--- diff --git a/server/public/admin-settings.html b/server/public/admin-settings.html index e56d19ef7..d7b9e6ce6 100644 --- a/server/public/admin-settings.html +++ b/server/public/admin-settings.html @@ -184,7 +184,7 @@

Billing Notifications Channel

- Only public channels the bot has access to are shown + Only private channels are shown. Invite Addie to your billing channel first.