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"],
|
steam_id=user_data["steamid"],
|
||||||
profile_name=user_data["personaname"],
|
profile_name=user_data["personaname"],
|
||||||
url=user_data["profileurl"],
|
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)
|
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):
|
def __init__(self, bot: commands.Bot):
|
||||||
self.bot = 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):
|
async def handle_player_connected(self, line: str):
|
||||||
"""
|
"""
|
||||||
Report when a user has joined the server into a specified Discord channel.
|
Report when a user has joined the server into a specified Discord channel.
|
||||||
|
Reference in New Issue
Block a user