From 9b0a11a7bcb4a107478765a5d139627d18d06c06 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Thu, 14 Mar 2024 16:49:49 -0400 Subject: [PATCH] fix(pterodactyl): fixed some chat formatting --- pterodactyl/pterodactyl.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pterodactyl/pterodactyl.py b/pterodactyl/pterodactyl.py index c060f37..f6f1d37 100644 --- a/pterodactyl/pterodactyl.py +++ b/pterodactyl/pterodactyl.py @@ -333,13 +333,13 @@ class Pterodactyl(commands.Cog): async def pterodactyl_config_topic_host(self, ctx: commands.Context, host: str) -> None: """Set the hostname or IP address of your server.""" await config.topic_hostname.set(host) - await ctx.send(f"Hostname/IP set to {host}") + await ctx.send(f"Hostname/IP set to `{host}`") @pterodactyl_config_topic.command(name = "port") async def pterodactyl_config_topic_port(self, ctx: commands.Context, port: int) -> None: """Set the port of your server.""" await config.topic_port.set(port) - await ctx.send(f"Port set to {port}") + await ctx.send(f"Port set to `{port}`") @pterodactyl_config_topic.command(name = "text") async def pterodactyl_config_topic_text(self, ctx: commands.Context, *, text: str) -> None: @@ -539,8 +539,8 @@ class Pterodactyl(commands.Cog): **API Endpoint:** `{api_endpoint}` **Invite:** {invite} - **Topic Hostname:** {topic_hostname} - **Topic Port:** {topic_port} + **Topic Hostname:** `{topic_hostname}` + **Topic Port:** `{topic_port}` **Topic Text:** {box(topic_text, 'yaml')} **Chat Command:** {box(chat_command, 'json')}