From 4feedd048c917f17e85711e18f9f4e375ec82320 Mon Sep 17 00:00:00 2001 From: Joe Banks Date: Mon, 4 Sep 2023 21:17:58 +0100 Subject: [PATCH] Use `thread.created_at` to determine thread creation --- metricity/exts/event_listeners/_utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/metricity/exts/event_listeners/_utils.py b/metricity/exts/event_listeners/_utils.py index 69d44ab..4006ea2 100644 --- a/metricity/exts/event_listeners/_utils.py +++ b/metricity/exts/event_listeners/_utils.py @@ -14,6 +14,7 @@ def insert_thread(thread: discord.Thread, sess: AsyncSession) -> None: auto_archive_duration=thread.auto_archive_duration, locked=thread.locked, type=thread.type.name, + created_at=thread.created_at, ))