fix(pterodactyl): cleaned up the pterodactyl config view command
This commit is contained in:
parent
987a29afff
commit
d1966fb05f
1 changed files with 8 additions and 8 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue