Skip to content

Commit

Permalink
CloseSupportThreads: Archive resolved threads on locking (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
IsaacG authored May 4, 2024
1 parent aa2a1ae commit 07685df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cogs/close_support.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,5 @@ async def on_raw_reaction_add(self, payload) -> None:
return

logger.debug("Locking thread %d due to owner resolving it.", payload.channel_id)
await thread.edit(locked=True)
await thread.edit(locked=True, archived=True)
PROM_CLOSED.inc()

0 comments on commit 07685df

Please sign in to comment.