diff --git a/moderation/moderation.py b/moderation/moderation.py index 451ce8d..0deece9 100644 --- a/moderation/moderation.py +++ b/moderation/moderation.py @@ -313,7 +313,7 @@ class Moderation(commands.Cog): return await interaction.response.send_message(content=f"{target.mention} has been banned for {humanize.precisedelta(parsed_time)}!\n**Reason** - `{reason}`") try: - embed = await self.embed_factory('message', interaction.guild, reason, 'tempbanned', await interaction.original_response()) + embed = await self.embed_factory('message', interaction.guild, reason, 'tempbanned', await interaction.original_response(), parsed_time) await target.send(embed=embed) except discord.errors.HTTPException: pass