diff --git a/shortmute/shortmute.py b/shortmute/shortmute.py index 222a05b..54be666 100644 --- a/shortmute/shortmute.py +++ b/shortmute/shortmute.py @@ -69,14 +69,11 @@ class Shortmute(commands.Cog): return if duration == 1 or duration == -1: readable_duration = f"{duration} minute" - passed_info.update({ - "readable_duration": readable_duration - }) else: readable_duration = f"{duration} minutes" - passed_info.update({ - "readable_duration": readable_duration - }) + passed_info.update({ + "readable_duration": readable_duration + }) if duration > 30: await interaction.response.send_message(content=f"{readable_duration} is longer than the 30 minutes you are allowed to shortmute users for.", ephemeral=True) return