fix(aurora): fixed an error in the immune embed generator
Some checks failed
Actions / Lint Code (Pylint) (pull_request) Failing after 15s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 11s

This commit is contained in:
Seaswimmer 2024-01-16 13:11:25 +00:00
parent 7476fcaa8d
commit 630381328b
Signed by: cswimr
GPG key ID: D74DDDDF420E13DF

View file

@ -125,8 +125,8 @@ async def immune(ctx: commands.Context) -> Embed:
immune_roles = await config.guild(ctx.guild).immune_roles()
if immune_roles:
immune_str = [ctx.guild.get_role(role).mention or error(f"`{role}` (Not Found)") for role in immune]
immune_str = '\n'.join(immune)
immune_str = [ctx.guild.get_role(role).mention or error(f"`{role}` (Not Found)") for role in immune_roles]
immune_str = '\n'.join(immune_roles)
else:
immune_str = warning("No roles are set as immune roles!")