From 9f747a77ca78cf92fc685661929957bfe9a03a55 Mon Sep 17 00:00:00 2001 From: Seaswimmer Date: Sat, 6 Jul 2024 13:16:53 -0400 Subject: [PATCH] fix(aurora): fixed a history call to `Moderation.type` that was causing a TypeError --- aurora/aurora.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aurora/aurora.py b/aurora/aurora.py index 6b970bb..e0bf488 100644 --- a/aurora/aurora.py +++ b/aurora/aurora.py @@ -1058,7 +1058,7 @@ class Aurora(commands.Cog): }) moderator = memory_dict[str(mod.moderator_id)] - field_name = f"Case #{mod.id:,} ({str.title(mod.type)})" + field_name = f"Case #{mod.id:,} ({mod.type.string.title()})" field_value = f"**Target:** `{target.name}` ({target.id})\n**Moderator:** `{moderator.name}` ({moderator.id})" if len(str(mod.reason)) > 125: