misc: maybe fixed update not showing up in [p]slash list

This commit is contained in:
Seaswimmer 2023-07-16 13:32:23 -04:00
parent b762b1b920
commit 565a9f7ccc
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -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."""