Skip to content

Commit 32062a6

Browse files
authored
convert thread close time to string before saving to mongodb
1 parent 6011971 commit 32062a6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/clients.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -713,7 +713,7 @@ async def close_log(
713713
data = {
714714
"open": False,
715715
"title": title,
716-
"closed_at": discord.utils.utcnow(),
716+
"closed_at": str(discord.utils.utcnow()),
717717
"close_message": message,
718718
"silent_close": silent,
719719
"scheduled_close": scheduled,

0 commit comments

Comments
 (0)