forked from cswimr/SeaCogs
fix(pterodactyl): use add_field so formatting doesn't look off
This commit is contained in:
parent
088bf6b8dc
commit
1ad721f380
1 changed files with 1 additions and 3 deletions
|
@ -367,10 +367,8 @@ class Pterodactyl(commands.Cog):
|
|||
await ctx.send(embed=embed)
|
||||
if not len(regex_blacklist) == 0:
|
||||
regex_blacklist_embed = discord.Embed(color = await ctx.embed_color(), title="Regex Blacklist")
|
||||
regex_string = ''
|
||||
for name, regex in regex_blacklist.items():
|
||||
regex_string += f"**{name}**: {box(regex, 're')}\n"
|
||||
regex_blacklist_embed.description = regex_string
|
||||
regex_blacklist_embed.add_field(name=name, value=box(regex, 're'), inline=False)
|
||||
await ctx.send(embed=regex_blacklist_embed)
|
||||
|
||||
def get_bool_str(self, inp: bool) -> str:
|
||||
|
|
Loading…
Reference in a new issue