From a9d1ba9113f2bb62a41381f7d30871d89fcccafb Mon Sep 17 00:00:00 2001 From: CAG2Mark Date: Mon, 29 Apr 2024 00:15:32 +0800 Subject: [PATCH] fix await bug --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)