fix(pterodactyl): fixed a docstring
This commit is contained in:
parent
f2c56e0382
commit
8954df4c1d
1 changed files with 4 additions and 1 deletions
|
@ -87,7 +87,10 @@ class Pterodactyl(commands.Cog):
|
||||||
|
|
||||||
@pterodactyl_config.command(name = "url")
|
@pterodactyl_config.command(name = "url")
|
||||||
async def pterodactyl_config_base_url(self, ctx: commands.Context, *, base_url: str = None) -> None:
|
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:
|
if base_url is None:
|
||||||
base_url = await config.base_url()
|
base_url = await config.base_url()
|
||||||
return await ctx.send(f"Base URL is currently set to {base_url}")
|
return await ctx.send(f"Base URL is currently set to {base_url}")
|
||||||
|
|
Loading…
Reference in a new issue