fix(pterodactyl): actually show the blacklisted regex in ptero set view
This commit is contained in:
parent
e6231bf1a7
commit
bf3f0f9782
1 changed files with 2 additions and 2 deletions
|
@ -368,8 +368,8 @@ class Pterodactyl(commands.Cog):
|
||||||
if not len(regex_blacklist) == 0:
|
if not len(regex_blacklist) == 0:
|
||||||
regex_blacklist_embed = discord.Embed(color = await ctx.embed_color(), title="Regex Blacklist")
|
regex_blacklist_embed = discord.Embed(color = await ctx.embed_color(), title="Regex Blacklist")
|
||||||
regex_string = ''
|
regex_string = ''
|
||||||
for regex in regex_blacklist:
|
for name, regex in regex_blacklist:
|
||||||
regex_string += f"{box(regex, 're')}\n"
|
regex_string += f"**{name}**: {box(regex, 're')}\n"
|
||||||
regex_blacklist_embed.description = regex_string
|
regex_blacklist_embed.description = regex_string
|
||||||
await ctx.send(embed=regex_blacklist_embed)
|
await ctx.send(embed=regex_blacklist_embed)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue