Skip to content

Commit 07685df

Browse files
authored
CloseSupportThreads: Archive resolved threads on locking (#103)
1 parent aa2a1ae commit 07685df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cogs/close_support.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,5 +70,5 @@ async def on_raw_reaction_add(self, payload) -> None:
7070
return
7171

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

0 commit comments

Comments
 (0)