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 )