Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion bot/exts/help_channels/_channel.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,9 @@ async def maybe_archive_idle_post(post_id: int, scheduler: scheduling.Scheduler)
return

if post.archived or post.locked:
log.trace(f"Not closing already closed post #{post} ({post.id}).")
# Could have been closed by us already, or manually archived/locked by the owner.
# help_post_archived tells the two apart via the audit log.
await help_post_archived(post, scheduler)
return

log.trace(f"Handling open post #{post} ({post.id}).")
Expand Down