From ba67023b12e37fc1add42c2e16734c6a8693f764 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Fri, 14 Jul 2023 11:54:17 -0400 Subject: [PATCH] changed some things --- pterodactyl/ptero.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pterodactyl/ptero.py b/pterodactyl/ptero.py index 22c66aa..e55c202 100644 --- a/pterodactyl/ptero.py +++ b/pterodactyl/ptero.py @@ -44,14 +44,14 @@ class Pterodactyl(commands.Cog): """Configures the Pterodactyl cog.""" await interaction.response.send_modal(self.ConfigModal(interaction.guild)) - class ConfigModal(discord.ui.Modal, title="Configuration"): + class ConfigModal(discord.ui.Modal, title="Pterodactyl Manager Configuration"): def __init__(self, guild: discord.guild): super().__init__() self.guild = guild base_url = discord.ui.TextInput( label="Base URL", - placeholder="Input your Pterodactyl Panel's Base URL here, without `HTTPS` or `HTTP`.", - style=discord.TextStyle.paragraph, + placeholder="Input your Pterodactyl Panel's Base URL here, without HTTPS or HTTP.", + style=discord.TextStyle.short, required=False, max_length=300 )