forked from cswimr/SeaCogs
fix(aurora): fixed hanging
This commit is contained in:
parent
efe16cefac
commit
d1afd62114
1 changed files with 1 additions and 1 deletions
|
@ -355,7 +355,7 @@ class Aurora(commands.Cog):
|
||||||
):
|
):
|
||||||
return
|
return
|
||||||
|
|
||||||
if role in [user_role.id for user_role in target.roles]:
|
if role.id in [user_role.id for user_role in target.roles]:
|
||||||
await interaction.response.send_message(
|
await interaction.response.send_message(
|
||||||
content=error(f"{target.mention} already has this role!"),
|
content=error(f"{target.mention} already has this role!"),
|
||||||
ephemeral=True,
|
ephemeral=True,
|
||||||
|
|
Loading…
Reference in a new issue