From 6be92f05db3d8640db74a7d45a4c0946104b3966 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Fri, 2 Feb 2024 12:16:41 -0500 Subject: [PATCH] fix(aurora): fixed /history not showing roles correctly --- aurora/aurora.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aurora/aurora.py b/aurora/aurora.py index 6d7f495..0a33241 100644 --- a/aurora/aurora.py +++ b/aurora/aurora.py @@ -1079,8 +1079,8 @@ class Aurora(commands.Cog): f"\n**Timestamp:** | " ) - if case["role_id"] != 0: - role = interaction.guild.get_role(case["role_id"]) + if case["role_id"] != "0": + role = interaction.guild.get_role(int(case["role_id"])) if role is not None: field_value += f"\n**Role:** {role.mention}" else: