From 7c16ec8df8999e3af6373cc591036af9b4524e7e Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Thu, 14 Mar 2024 16:48:08 -0400 Subject: [PATCH] feat(pterodactyl): added the topic config values to -ptero set view --- pterodactyl/pterodactyl.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pterodactyl/pterodactyl.py b/pterodactyl/pterodactyl.py index a914c81..48f72c5 100644 --- a/pterodactyl/pterodactyl.py +++ b/pterodactyl/pterodactyl.py @@ -523,6 +523,9 @@ class Pterodactyl(commands.Cog): api_endpoint = await config.api_endpoint() invite = await config.invite() regex_blacklist: dict = await config.regex_blacklist() + topic_text = await config.topic() + topic_hostname = await config.topic_hostname() + topic_port = await config.topic_port() embed = discord.Embed(color = await ctx.embed_color(), title="Pterodactyl Configuration") embed.description = f"""**Base URL:** {base_url} **Server ID:** `{server_id}` @@ -536,6 +539,10 @@ class Pterodactyl(commands.Cog): **API Endpoint:** `{api_endpoint}` **Invite:** {invite} + **Topic Text:** {box(topic_text, 'yaml')} + **Topic Hostname:** {topic_hostname} + **Topic Port:** {topic_port} + **Chat Command:** {box(chat_command, 'json')} **Chat Regex:** {box(chat_regex, 're')} **Server Regex:** {box(server_regex, 're')}