Skip to content

fix(discord): bump stale threads so they stay in the channel list - #130

Merged
austeyen merged 1 commit into
mainfrom
austeyen/fix-thread-bumper
Sep 9, 2026
Merged

fix(discord): bump stale threads so they stay in the channel list#130
austeyen merged 1 commit into
mainfrom
austeyen/fix-thread-bumper

Conversation

@austeyen

@austeyen austeyen commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Thread keep-alive was a no-op: Discord rejects any PATCH on an archived thread except archived: false (50083), and we were sending auto_archive_duration in the same edit.
  • Unarchive is now its own request, then a second edit sets the 7-day window.
  • A 5-minute sweep toggles auto_archive_duration on active threads within 30 minutes of Discord's hide deadline. That counts as activity, so joined members keep the thread in the channel list without a bot message.
  • ThreadUpdate still unarchives anything that slips through. Locked threads are left alone.

@austeyen
austeyen merged commit 733f963 into main Sep 9, 2026
19 checks passed
@austeyen
austeyen deleted the austeyen/fix-thread-bumper branch September 9, 2026 06:03
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