We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eeeca25 commit 7e5c491Copy full SHA for 7e5c491
intbot/core/bot/main.py
@@ -64,12 +64,11 @@ async def close(ctx):
64
# Remove command message
65
await ctx.message.delete()
66
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
-
71
# Send notification to the thread
72
await channel.send(f"# This was marked as done by {author.mention}")
+
+ # We need to archive after adding tags in case it was a forum.
+ await channel.edit(archived=True)
73
74
75
0 commit comments