From bf3f0f978253776a1ab3f21af1dc83eb56495733 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Sat, 2 Mar 2024 19:32:45 -0500 Subject: [PATCH] fix(pterodactyl): actually show the blacklisted regex in ptero set view --- pterodactyl/pterodactyl.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pterodactyl/pterodactyl.py b/pterodactyl/pterodactyl.py index f995411..b926e54 100644 --- a/pterodactyl/pterodactyl.py +++ b/pterodactyl/pterodactyl.py @@ -368,8 +368,8 @@ class Pterodactyl(commands.Cog): if not len(regex_blacklist) == 0: regex_blacklist_embed = discord.Embed(color = await ctx.embed_color(), title="Regex Blacklist") regex_string = '' - for regex in regex_blacklist: - regex_string += f"{box(regex, 're')}\n" + for name, regex in regex_blacklist: + regex_string += f"**{name}**: {box(regex, 're')}\n" regex_blacklist_embed.description = regex_string await ctx.send(embed=regex_blacklist_embed)