From 630381328b3bf1624c079c9ee42328e5c7e2d3d3 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Tue, 16 Jan 2024 13:11:25 +0000 Subject: [PATCH] fix(aurora): fixed an error in the immune embed generator --- aurora/configuration/embed.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aurora/configuration/embed.py b/aurora/configuration/embed.py index ecf6f68..73bd7f9 100644 --- a/aurora/configuration/embed.py +++ b/aurora/configuration/embed.py @@ -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!")