diff --git a/aurora/aurora.py b/aurora/aurora.py index 5bc3911..99fe8b7 100644 --- a/aurora/aurora.py +++ b/aurora/aurora.py @@ -362,6 +362,7 @@ class Aurora(commands.Cog): ) return + await interaction.response.defer() if silent is None: silent = not await config.guild(interaction.guild).dm_users() if silent is False: @@ -379,7 +380,6 @@ class Aurora(commands.Cog): except discord.errors.HTTPException: pass - await interaction.response.defer() await target.add_roles( role, reason=f"Role added by {interaction.user.id}{(' for ' + {humanize.precisedelta(parsed_time)} if parsed_time != 'NULL' else '')} for: {reason}",