fix: same thing as last commit, just with get_url
This commit is contained in:
parent
fed6790122
commit
45b6c94f06
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Reference in a new issue