fix(aurora): more ruff fixes
All checks were successful
Actions / Build Documentation (MkDocs) (push) Successful in 32s
Actions / Lint Code (Ruff & Pylint) (push) Successful in 36s

This commit is contained in:
cswimr 2025-03-28 10:22:08 -05:00
parent 4407a99b8e
commit 2505dd0980
Signed by: cswimr
GPG key ID: 0EC431A8DA8F8087
4 changed files with 14 additions and 24 deletions

View file

@ -451,7 +451,7 @@ async def addrole_embed(ctx: commands.Context) -> Embed:
"id": evalulated_role.id,
"mention": evalulated_role.mention,
"position": evalulated_role.position,
}
},
)
else:
roles.append(
@ -459,7 +459,7 @@ async def addrole_embed(ctx: commands.Context) -> Embed:
"id": role,
"mention": error(f"`{role}` (Not Found)"),
"position": 0,
}
},
)
if roles:
@ -506,7 +506,7 @@ async def immune_embed(ctx: commands.Context) -> Embed:
"id": evalulated_role.id,
"mention": evalulated_role.mention,
"position": evalulated_role.position,
}
},
)
else:
roles.append(
@ -514,7 +514,7 @@ async def immune_embed(ctx: commands.Context) -> Embed:
"id": role,
"mention": error(f"`{role}` (Not Found)"),
"position": 0,
}
},
)
if roles: