revert: reverted test fix on update command

This commit is contained in:
Seaswimmer 2023-07-16 14:41:16 -04:00
parent 1d62e9d01d
commit 40858dc7d4
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -51,6 +51,7 @@ class Pterodactyl(commands.Cog):
return response return response
@app_commands.command(name="update", description="Updates the server.") @app_commands.command(name="update", description="Updates the server.")
@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."""
await interaction.response.defer(ephemeral=True, thinking=True) await interaction.response.defer(ephemeral=True, thinking=True)