diff --git a/bot.py b/bot.py index f196ccd..228f2bc 100644 --- a/bot.py +++ b/bot.py @@ -76,7 +76,7 @@ class Bot: sudo_role = inter.guild.get_role(sudo_role_id) if not sudo_role: - inter.response.send_message(embed=error_embed("Misconfigured sudo role. Please contact an administrator."), ephemeral=True) + await inter.response.send_message(embed=error_embed("Misconfigured sudo role. Please contact an administrator."), ephemeral=True) return await inter.user.add_roles(sudo_role)