fix(pterodactyl): fixed player fetching api error
This commit is contained in:
parent
014025f547
commit
39808f1766
1 changed files with 1 additions and 1 deletions
|
@ -143,7 +143,7 @@ class Pterodactyl(commands.Cog):
|
||||||
if status and 'list' in response['players']:
|
if status and 'list' in response['players']:
|
||||||
output_str = ''
|
output_str = ''
|
||||||
for player in response['players']['list']:
|
for player in response['players']['list']:
|
||||||
output_str += f"{player['name']}\n"
|
output_str += f"{player}\n"
|
||||||
return output_str, response['players']['list']
|
return output_str, response['players']['list']
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue