added a description to the edit command
This commit is contained in:
parent
defc367cb1
commit
c093f4d347
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ class Pterodactyl(commands.Cog):
|
||||||
async with session.put(url, headers=headers, json=data) as response:
|
async with session.put(url, headers=headers, json=data) as response:
|
||||||
return response
|
return response
|
||||||
|
|
||||||
@app_commands.command()
|
@app_commands.command(description="Updates the server.")
|
||||||
async def update(self, interaction: discord.Interaction):
|
async def update(self, interaction: discord.Interaction):
|
||||||
"""Updates the server using the arguments provided in the server's configuration."""
|
"""Updates the server using the arguments provided in the server's configuration."""
|
||||||
await interaction.response.defer(ephemeral=True, thinking=True)
|
await interaction.response.defer(ephemeral=True, thinking=True)
|
||||||
|
|
Reference in a new issue