diff --git a/pterodactyl/ptero.py b/pterodactyl/ptero.py index 9591a10..900515b 100644 --- a/pterodactyl/ptero.py +++ b/pterodactyl/ptero.py @@ -198,13 +198,13 @@ class Pterodactyl(commands.Cog): message = "" if self.base_url.value != "": await self.config.guild(interaction.guild).base_url.set(self.base_url.value) - message += f"Base URL set to `{self.base_url.value}`.\n" + message += f"Base URL set to `{self.base_url.value}`\n" if self.api_key.value != "": await self.config.guild(interaction.guild).api_key.set(self.api_key.value) - message += f"API Key set to `{self.api_key.value}`.\n" + message += f"API Key set to `{self.api_key.value}`\n" if self.server_id.value != "": await self.config.guild(interaction.guild).server_id.set(self.server_id.value) - message += f"Server ID set to `{self.server_id.value}`.\n" + message += f"Server ID set to `{self.server_id.value}`\n" if message == "": send = f"No changes were made.\nCurrent configuration:\n- Base URL: `{await self.config.guild(interaction.guild).base_url()}`\n- API Key: `{await self.config.guild(interaction.guild).api_key()}`\n- Server ID: `{await self.config.guild(interaction.guild).server_id()}`" else: @@ -234,10 +234,10 @@ class Pterodactyl(commands.Cog): message = "" if self.startup_jar.value != "": await self.config.guild(interaction.guild).startup_jar.set(self.startup_jar.value) - message += f"- Startup jar set to `{self.startup_jar.value}`.\n" + message += f"- Startup jar set to `{self.startup_jar.value}`\n" if self.startup_arguments.value != "": await self.config.guild(interaction.guild).startup_arguments.set(self.startup_arguments.value) - message += f"- Startup arguments set to:\n```{self.startup_arguments.value}```.\n" + message += f"- Startup arguments set to:\n```{self.startup_arguments.value}```\n" if message == "": send = f"No changes were made.\nCurrent configuration:\n- Startup jar: `{await self.config.guild(interaction.guild).startup_jar()}`\n- Startup arguments:\n```{await self.config.guild(interaction.guild).startup_arguments()}```" else: