fix(pterodactyl): fixed incorrect configuration value

This commit is contained in:
Seaswimmer 2024-03-14 16:39:15 -04:00
parent c546fa597b
commit cbd9f28f38
Signed by untrusted user: cswimr
GPG key ID: B8953EC01E5C4063

View file

@ -101,7 +101,7 @@ class Pterodactyl(commands.Cog):
"O": str(await config.topic_port()), "O": str(await config.topic_port()),
} }
if await config.api_endpoint() == "minecraft": if await config.api_endpoint() == "minecraft":
status, response = await mcsrvstatus.get_status(await config.topic_ip(), await config.topic_port()) status, response = await mcsrvstatus.get_status(await config.topic_hostname(), await config.topic_port())
if status: if status:
placeholders.update({ placeholders.update({
"I": response['ip'], "I": response['ip'],