diff --git a/pterodactyl/ptero.py b/pterodactyl/ptero.py index cfbc319..b8fd0b3 100644 --- a/pterodactyl/ptero.py +++ b/pterodactyl/ptero.py @@ -207,7 +207,7 @@ class Pterodactyl(commands.Cog): await self.config.guild(interaction.guild).server_id.set(self.server_id.value) message += f"- Server ID set to\n - `{self.server_id.value}`\n" if message == "": - trimmed_api_key = str(await self.config.guild(interaction.guild).api_key())[:16] + "`..." + trimmed_api_key = str(await self.config.guild(interaction.guild).api_key())[:16] send = f"No changes were made.\nCurrent configuration:\n- Base URL:\n - `{await self.config.guild(interaction.guild).base_url()}`\n- API Key:\n - `{trimmed_api_key}` - Trimmed for security\n- Server ID:\n - `{await self.config.guild(interaction.guild).server_id()}`" else: send = f"Configuration changed:\n{message}"