misc: maybe fixed update not showing up in [p]slash list
This commit is contained in:
parent
b762b1b920
commit
565a9f7ccc
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ class Pterodactyl(commands.Cog):
|
||||||
message = await interaction_message.edit(content="The server is already offline!")
|
message = await interaction_message.edit(content="The server is already offline!")
|
||||||
await message.delete(delay=3)
|
await message.delete(delay=3)
|
||||||
|
|
||||||
@app_commands.command(description="Updates the server.")
|
@app_commands.command(name="update", description="Updates the server.")
|
||||||
@app_commands.guild_only()
|
@app_commands.guild_only()
|
||||||
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."""
|
||||||
|
|
Reference in a new issue