mirror of
https://github.com/CAG2Mark/SuperUserBot.git
synced 2025-01-12 15:26:25 +01:00
fix await bug
This commit is contained in:
parent
97d0c05058
commit
a9d1ba9113
1 changed files with 1 additions and 1 deletions
2
bot.py
2
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)
|
||||
|
|
Loading…
Reference in a new issue