fix(aurora): fixed embed fields being inline
Some checks failed
Actions / Lint Code (Pylint) (pull_request) Failing after 14s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 11s

This commit is contained in:
Seaswimmer 2024-01-15 07:09:44 +00:00
parent e394518aad
commit bb3da8d03b
Signed by: cswimr
GPG key ID: D74DDDDF420E13DF

View file

@ -103,9 +103,9 @@ async def _immune(guild: Guild) -> str:
async def embed(ctx: commands.Context) -> Embed:
"""Generates the configuration embed for a guild."""
embed = await _core(ctx)
embed.add_field(name="User Overrides", value=await _overrides(ctx.author))
embed.add_field(name="User Overrides", value=await _overrides(ctx.author), inline=False)
if ctx.guild is not None and (ctx.author.guild_permissions.administrator or ctx.author.guild_permissions.manage_guild):
embed.add_field(name="Guild Settings", value=await _guild(ctx.guild))
embed.add_field(name="Blacklist Roles", value=await _blacklist(ctx.guild))
embed.add_field(name="Immune Roles", value=await _immune(ctx.guild))
embed.add_field(name="Guild Settings", value=await _guild(ctx.guild), inline=False)
embed.add_field(name="Blacklist Roles", value=await _blacklist(ctx.guild), inline=False)
embed.add_field(name="Immune Roles", value=await _immune(ctx.guild), inline=False)
return embed