Update console.py
All checks were successful
Build and Push Docker Image / build (push) Successful in 12s
All checks were successful
Build and Push Docker Image / build (push) Successful in 12s
This commit is contained in:
parent
3a85af4028
commit
f7f2401174
@ -39,7 +39,10 @@ class ZomboidUser:
|
||||
response.raise_for_status()
|
||||
|
||||
data = response.json()
|
||||
return data["response"]["players"][0]["avatar"]
|
||||
avatar_url = data["response"]["players"][0]["avatar"]
|
||||
log.debug(data)
|
||||
log.debug(avatar_url)
|
||||
return avatar_url
|
||||
|
||||
|
||||
class ConsoleCog(commands.Cog):
|
||||
|
Reference in New Issue
Block a user