From 50d1d7900b6eea3ea400ce52f6a80c9029e6fbea Mon Sep 17 00:00:00 2001 From: Seaswimmer Date: Sat, 23 Mar 2024 15:02:46 +0000 Subject: [PATCH] fix(pterodactyl): fixed `[pterodactyl players]` command --- pterodactyl/pterodactyl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pterodactyl/pterodactyl.py b/pterodactyl/pterodactyl.py index c068c65..92fa773 100644 --- a/pterodactyl/pterodactyl.py +++ b/pterodactyl/pterodactyl.py @@ -145,7 +145,7 @@ class Pterodactyl(commands.Cog): if await config.api_endpoint() == "minecraft": status, response = await mcsrvstatus.get_status(await config.topic_hostname(), await config.topic_port()) if status and 'list' in response['players']: - output_str = str.join(response['players']['list'], '\n') + output_str = '\n'.join(response['players']['list']) return output_str, response['players']['list'] return None