fix(aurora): fixed hanging

This commit is contained in:
Seaswimmer 2024-02-02 11:43:27 -05:00
parent efe16cefac
commit d1afd62114
Signed by untrusted user: cswimr
GPG key ID: B8953EC01E5C4063

View file

@ -355,7 +355,7 @@ class Aurora(commands.Cog):
):
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(
content=error(f"{target.mention} already has this role!"),
ephemeral=True,