oops
This commit is contained in:
parent
9f8fd0c376
commit
498b38c019
1 changed files with 1 additions and 1 deletions
|
@ -207,7 +207,7 @@ class Pterodactyl(commands.Cog):
|
||||||
await self.config.guild(interaction.guild).server_id.set(self.server_id.value)
|
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"
|
message += f"- Server ID set to\n - `{self.server_id.value}`\n"
|
||||||
if message == "":
|
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()}`"
|
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:
|
else:
|
||||||
send = f"Configuration changed:\n{message}"
|
send = f"Configuration changed:\n{message}"
|
||||||
|
|
Reference in a new issue