added a description to the edit command

This commit is contained in:
Seaswimmer 2023-07-15 18:24:07 -04:00
parent defc367cb1
commit c093f4d347
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -37,7 +37,7 @@ class Pterodactyl(commands.Cog):
async with session.put(url, headers=headers, json=data) as response:
return response
@app_commands.command()
@app_commands.command(description="Updates the server.")
async def update(self, interaction: discord.Interaction):
"""Updates the server using the arguments provided in the server's configuration."""
await interaction.response.defer(ephemeral=True, thinking=True)