diff --git a/aurora/aurora.py b/aurora/aurora.py index 270ee46..4bef46a 100644 --- a/aurora/aurora.py +++ b/aurora/aurora.py @@ -864,7 +864,7 @@ class Aurora(commands.Cog): end_timestamp = case_dict['timestamp'] + parsed_time.total_seconds() - if case_dict['type'] == 'MUTE': + if case_dict['moderation_type'] == 'MUTE': if (time.time() - case_dict['timestamp']) + parsed_time.total_seconds() > 2419200: await interaction.response.send_message("Please provide a duration that is less than 28 days from the initial moderation.") return