From 45b6c94f061df7b579969debfcf6de96d83e139f Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Sun, 23 Jul 2023 12:50:44 -0400 Subject: [PATCH] fix: same thing as last commit, just with get_url --- pterodactyl/ptero.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pterodactyl/ptero.py b/pterodactyl/ptero.py index ee03d11..9aeabe3 100644 --- a/pterodactyl/ptero.py +++ b/pterodactyl/ptero.py @@ -294,7 +294,7 @@ class Pterodactyl(commands.Cog): get_group = app_commands.Group(name='get', description="Retrieves information from the Pterodactyl API.") @get_group.command(name='url', description="Retrieves the URL for the specified endpoint.") - @get_group.guild_only() + @app_commands.guild_only() async def retrieve_url(self, interaction: discord.Interaction, endpoint: str = None): """Retrieves the URL for the specified endpoint.""" try: