Skip to content

Commit

Permalink
Update tickets.py
Browse files Browse the repository at this point in the history
  • Loading branch information
carolinaisslaying authored Jul 30, 2020
1 parent abaf956 commit 53ff591
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cogs/tickets.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 53ff591

Please sign in to comment.