From 39808f17661824657cb5f557a56e9727d544271d Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Fri, 15 Mar 2024 19:26:15 -0400 Subject: [PATCH] fix(pterodactyl): fixed player fetching api error --- pterodactyl/pterodactyl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pterodactyl/pterodactyl.py b/pterodactyl/pterodactyl.py index bc477fa..4c6455a 100644 --- a/pterodactyl/pterodactyl.py +++ b/pterodactyl/pterodactyl.py @@ -143,7 +143,7 @@ class Pterodactyl(commands.Cog): if status and 'list' in response['players']: output_str = '' for player in response['players']['list']: - output_str += f"{player['name']}\n" + output_str += f"{player}\n" return output_str, response['players']['list'] return None