Skip to content

Commit 7e5c491

Browse files
authored
Update intbot/core/bot/main.py
1 parent eeeca25 commit 7e5c491

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

intbot/core/bot/main.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,11 @@ async def close(ctx):
6464
# Remove command message
6565
await ctx.message.delete()
6666

67-
# We need to archive after adding tags in case it was a forum.
68-
# Otherwise we only archive the thread
69-
await channel.edit(archived=True)
70-
7167
# Send notification to the thread
7268
await channel.send(f"# This was marked as done by {author.mention}")
69+
70+
# We need to archive after adding tags in case it was a forum.
71+
await channel.edit(archived=True)
7372

7473

7574

0 commit comments

Comments
 (0)