fix(pterodactyl): fixed a docstring

This commit is contained in:
SeaswimmerTheFsh 2024-03-01 00:30:38 -05:00
parent f2c56e0382
commit 8954df4c1d
Signed by untrusted user: cswimr
GPG key ID: B8953EC01E5C4063

View file

@ -87,7 +87,10 @@ class Pterodactyl(commands.Cog):
@pterodactyl_config.command(name = "url")
async def pterodactyl_config_base_url(self, ctx: commands.Context, *, base_url: str = None) -> None:
"""Set the base URL of your Pterodactyl Panel. Please include the protocol (http/https)."""
"""Set the base URL of your Pterodactyl Panel.
Please include the protocol (http/https).
Example: `https://panel.example.com`"""
if base_url is None:
base_url = await config.base_url()
return await ctx.send(f"Base URL is currently set to {base_url}")