Aurora Configuration Rewrite #15
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue