fix(aurora): fixed embed fields being inline

This commit is contained in:
SeaswimmerTheFsh 2024-01-15 07:09:44 +00:00
parent e394518aad
commit bb3da8d03b
Signed by untrusted user: 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