From 4788f3189cbb7fe20a6a786a158605329fd1195a Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Tue, 16 Jan 2024 13:04:44 +0000 Subject: [PATCH] fix(aurora): fixed the addrole embed generator having an outdated config variable name --- aurora/configuration/embed.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aurora/configuration/embed.py b/aurora/configuration/embed.py index 4a88d1f..6a820af 100644 --- a/aurora/configuration/embed.py +++ b/aurora/configuration/embed.py @@ -90,7 +90,7 @@ async def guild(ctx: commands.Context) -> Embed: async def addrole(ctx: commands.Context) -> Embed: """Generates a configuration menu field value for a guild's addrole whitelist.""" - whitelist = await config.guild(ctx.guild).addrole_roles() + whitelist = await config.guild(ctx.guild).addrole_whitelist() if whitelist: whitelist = [ctx.guild.get_role(role).mention or error(f"`{role}` (Not Found)") for role in whitelist] whitelist = '\n'.join(whitelist)