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: