forked from blizzthewolf/SeaCogs
fix(pterodactyl): docstring change
This commit is contained in:
parent
9e8bcb952a
commit
0b0afa53d6
1 changed files with 3 additions and 2 deletions
|
@ -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}")
|
||||
|
||||
|
|
Loading…
Reference in a new issue