From c2e017339e37d7217a6e717a078cc80ff4e22a4f Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Mon, 6 May 2024 16:35:06 -0400 Subject: [PATCH] fix(aurora): fixed a broken classmethod --- aurora/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aurora/models.py b/aurora/models.py index 0e8e751..e1821f0 100644 --- a/aurora/models.py +++ b/aurora/models.py @@ -179,7 +179,7 @@ class Moderation(AuroraGuildModel): return cls(bot=bot, **data) @classmethod - def from_result(bot: Red, result: Iterable, guild_id: int) -> dict: + def from_result(cls, bot: Red, result: Iterable, guild_id: int) -> dict: if result[7] is not None: hours, minutes, seconds = map(int, result[7].split(':')) duration = timedelta(hours=hours, minutes=minutes, seconds=seconds)