fix(pterodactyl): whoops!
Some checks failed
Actions / Lint Code (Ruff & Pylint) (push) Failing after 22s
Actions / Build Documentation (MkDocs) (push) Successful in 26s

This commit is contained in:
Seaswimmer 2024-03-07 00:59:14 -05:00
parent bbb54f0f55
commit dd62b7d7ce
Signed by: cswimr
GPG key ID: B8953EC01E5C4063

View file

@ -199,7 +199,6 @@ class Pterodactyl(commands.Cog):
Choice(name="Restart", value="restart"), Choice(name="Restart", value="restart"),
Choice(name="⚠️ Kill ⚠️", value="kill") Choice(name="⚠️ Kill ⚠️", value="kill")
]) ])
@app_commands.describe("action", "The action to perform on the server.")
async def slash_pterodactyl_power(self, interaction: discord.Interaction, action: app_commands.Choice[str]) -> None: async def slash_pterodactyl_power(self, interaction: discord.Interaction, action: app_commands.Choice[str]) -> None:
"""Send power actions to the server. """Send power actions to the server.