fix(pterodactyl): docstring change
Some checks failed
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 18s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 23s

This commit is contained in:
Seaswimmer 2024-03-01 23:03:43 -05:00
parent 9e8bcb952a
commit 0b0afa53d6
Signed by: cswimr
GPG key ID: B8953EC01E5C4063

View file

@ -279,9 +279,10 @@ class Pterodactyl(commands.Cog):
@pterodactyl_config.command(name = "api")
async def pterodactyl_config_api(self, ctx: commands.Context, endpoint: str) -> None:
"""Set the API endpoint to use for the user retrival API.
"""Set the API endpoint for retrieving user avatars.
This is only used for retrieving user avatars for webhook messages."""
This is only used for retrieving user avatars for webhook messages.
See [PlayerDB](https://playerdb.co/) for valid endpoints. Usually, you should leave this as default."""
await config.api_endpoint.set(endpoint)
await ctx.send(f"API endpoint set to {endpoint}")