From 1ad721f380498c6d2de254e7a0584939f604e0b7 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Sat, 2 Mar 2024 19:35:42 -0500 Subject: [PATCH] fix(pterodactyl): use add_field so formatting doesn't look off --- pterodactyl/pterodactyl.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pterodactyl/pterodactyl.py b/pterodactyl/pterodactyl.py index d570bb9..de017f4 100644 --- a/pterodactyl/pterodactyl.py +++ b/pterodactyl/pterodactyl.py @@ -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: