diff --git a/shortmute/shortmute.py b/shortmute/shortmute.py index 31385da..d1ddbb2 100644 --- a/shortmute/shortmute.py +++ b/shortmute/shortmute.py @@ -93,7 +93,7 @@ class Shortmute(commands.Cog): reason = self.passed_info['reason'] old_interaction = self.passed_info['interaction'] color = self.passed_info['color'] - timedelta = parse(f'{duration} minutes') + timedelta = parse(f'{duration} minutes', as_timedelta=True) edit_embed = discord.Embed(title="Shortmute confirmed!", description=f"Moderator: {old_interaction.user.mention}\nTarget: {target.mention}\nDuration: {readable_duration}\nReason: `{reason}`", color=color) if self.passed_info.get('evidence'): evidence = self.passed_info['evidence']