forked from cswimr/SeaCogs
fix(aurora): fixed another error in the immune embed generator
This commit is contained in:
parent
630381328b
commit
a4a0ec924a
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ async def immune(ctx: commands.Context) -> Embed:
|
||||||
immune_roles = await config.guild(ctx.guild).immune_roles()
|
immune_roles = await config.guild(ctx.guild).immune_roles()
|
||||||
if immune_roles:
|
if immune_roles:
|
||||||
immune_str = [ctx.guild.get_role(role).mention or error(f"`{role}` (Not Found)") for role in immune_roles]
|
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)
|
immune_str = '\n'.join(immune_str)
|
||||||
else:
|
else:
|
||||||
immune_str = warning("No roles are set as immune roles!")
|
immune_str = warning("No roles are set as immune roles!")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue