Add Pterodactyl cog #19
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@ class Pterodactyl(commands.Cog):
|
||||||
|
|
||||||
@pterodactyl_config.command(name = "serverid")
|
@pterodactyl_config.command(name = "serverid")
|
||||||
async def pterodactyl_config_server_id(self, ctx: commands.Context, *, server_id: str) -> None:
|
async def pterodactyl_config_server_id(self, ctx: commands.Context, *, server_id: str) -> None:
|
||||||
"""Set the server ID for your Pterodactyl Panel."""
|
"""Set the ID of your server."""
|
||||||
await config.server_id.set(server_id)
|
await config.server_id.set(server_id)
|
||||||
await ctx.send(f"Server ID set to {server_id}")
|
await ctx.send(f"Server ID set to {server_id}")
|
||||||
logger.info("Configuration value set: server_id = %s\nRestarting task...", server_id)
|
logger.info("Configuration value set: server_id = %s\nRestarting task...", server_id)
|
||||||
|
|
Loading…
Reference in a new issue