fix(aurora): fixed hanging
All checks were successful
Actions / Lint Code (Pylint) (push) Successful in 17s
Actions / Build Documentation (MkDocs) (push) Successful in 13s

This commit is contained in:
Seaswimmer 2024-02-02 11:43:27 -05:00
parent efe16cefac
commit d1afd62114
Signed by: 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,