Skip to content

Make #general thread-only with channel permission overwrites - #251

Open
dend wants to merge 2 commits into
mainfrom
general-thread-only
Open

dend wants to merge 2 commits into
mainfrom
general-thread-only

Conversation

@dend

@dend dend commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

Makes the existing #general text channel thread-only in place, using channel permission overwrites. The channel keeps its ID and history.

  • @everyone: deny Send Messages; allow Create Public Threads and Send Messages in Threads
  • Moderators and community managers: allow Send Messages

To support this, channel entries in channels.ts can now declare permissionOverwrites. Only the declared permissions are managed; other overwrites on the channel are left alone.

Before deploying, the bot needs Manage Roles, Send Messages, Create Public Threads and Send Messages in Threads.

Discord cannot convert a text channel into a forum, so making #general
thread-only means creating a new forum channel in the General category.
The existing #general text channel is left untouched and must be retired
by hand once people have moved over.
@dend
dend requested a review from a team as a code owner November 21, 2026 16:20
Replace the new forum channel with a policy on the existing #general text
channel: @everyone is denied SEND_MESSAGES and allowed CREATE_PUBLIC_THREADS
and SEND_MESSAGES_IN_THREADS, so members can only start threads and reply in
them. Moderators and community managers keep SEND_MESSAGES.

Add permissionOverwrites to channel entries to support this. Pulumi owns only
the declared permissions: other bits on the same overwrite and overwrites for
other roles or members are preserved, and permissions removed from config are
cleared on the next deploy.
@dend dend changed the title Add a thread-only general forum channel Make #general thread-only with channel permission overwrites Nov 21, 2026

This branch had an error being deployed

1 failed deployment
production — 18e5a639 Deployed Nov 21, 2026 by dend via Preview Changes #422
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant