fix(pterodactyl): cleaned up the pterodactyl config view command
Some checks failed
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 19s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 27s

This commit is contained in:
Seaswimmer 2024-03-01 22:55:07 -05:00
parent 987a29afff
commit d1966fb05f
Signed by: cswimr
GPG key ID: B8953EC01E5C4063

View file

@ -346,20 +346,20 @@ class Pterodactyl(commands.Cog):
embed = discord.Embed(color = await ctx.embed_color(), title="Pterodactyl Configuration")
embed.description = f"""**Base URL:** {base_url}
**Server ID:** `{server_id}`
**Console Channel:** {console_channel}
**Chat Channel:** {chat_channel}
**Chat Command:** {box(chat_command, 'json')}
**Chat Regex:** `{chat_regex}`
**Server Regex:** `{server_regex}`
**Join Regex:** `{join_regex}`
**Leave Regex:** `{leave_regex}`
**Console Channel:** <#{console_channel}>
**Chat Channel:** <#{chat_channel}>
**Achievement Regex:** `{achievement_regex}`
**Startup Message:** {startup_msg}
**Shutdown Message:** {shutdown_msg}
**Join Message:** {join_msg}
**Leave Message:** {leave_msg}
**Mask IP:** {self.get_bool_str(mask_ip)}
**API Endpoint:** `{api_endpoint}`"""
**API Endpoint:** `{api_endpoint}`
**Chat Command:** {box(chat_command, 'json')}
**Chat Regex:** {box(chat_regex, 're')}
**Server Regex:** {box(server_regex, 're')}
**Join Regex:** {box(join_regex, 're')}
**Leave Regex:** {box(leave_regex, 're')}"""
await ctx.send(embed=embed)
def get_bool_str(self, bool: bool) -> str: