changed some things
This commit is contained in:
parent
46e33cf989
commit
ba67023b12
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
)
|
||||
|
|
Reference in a new issue