diff --git a/cogs/tickets.py b/cogs/tickets.py index fd3f714..edb60d8 100644 --- a/cogs/tickets.py +++ b/cogs/tickets.py @@ -217,7 +217,8 @@ async def close_ticket(self, ctx, *, reason: str): await ctx.bot.db.tickets.update_one({"_id": str(message_id['_id'])}, { "$set": { "status": 2, - "closureReason": reason + "closureReason": reason, + "ids.history": str(message_history.id) } }) else: