full avatar & remove incorrect on_ready code
All checks were successful
Build and Push Docker Image / build (push) Successful in 13s
All checks were successful
Build and Push Docker Image / build (push) Successful in 13s
This commit is contained in:
parent
512254a05d
commit
8344bfa3b5
@ -50,7 +50,7 @@ class ZomboidUser:
|
||||
steam_id=user_data["steamid"],
|
||||
profile_name=user_data["personaname"],
|
||||
url=user_data["profileurl"],
|
||||
avatar_url=user_data["avatarmedium"]
|
||||
avatar_url=user_data["avatarfull"]
|
||||
)
|
||||
|
||||
log.debug("successfully parsed steam profile summary for: %s", self.steam_id)
|
||||
@ -79,11 +79,6 @@ class PlayersCog(commands.Cog):
|
||||
def __init__(self, bot: commands.Bot):
|
||||
self.bot = bot
|
||||
|
||||
@commands.Cog.listener()
|
||||
async def on_ready(self):
|
||||
if not self.update_activity.is_running():
|
||||
self.update_activity.start()
|
||||
|
||||
async def handle_player_connected(self, line: str):
|
||||
"""
|
||||
Report when a user has joined the server into a specified Discord channel.
|
||||
|
Reference in New Issue
Block a user