diff --git a/payphone/cogs/admin/cog.py b/payphone/cogs/admin/cog.py index 975fb5a..6330a78 100644 --- a/payphone/cogs/admin/cog.py +++ b/payphone/cogs/admin/cog.py @@ -479,11 +479,13 @@ class Admin(base.Cog): """ if isinstance(ctx.channel, discord.Thread): - await ctx.channel.edit( + # Keep the message sending above because it'll reopen the ticket otherwise. + await ctx.send("🎫 This ticket was closed.") + + return await ctx.channel.edit( archived=True, locked=True, ) - return await ctx.send("🎫 This ticket was closed.") await ctx.send("❌ This is not a ticket!")