You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Check if they're live
while not await client.is_live():
client.logger.info("Client is currently not live. Checking again in 60 seconds.")
await asyncio.sleep(60) # Spamming the endpoint will get you blocked
# Connect once they become live
client.logger.info("Requested client is live!")
await client.connect()
client.logger.info("client.connect end!")
Expected Behaviour
await client.connect() not finishing when the live is end
how can I finish await client.connect() when the live is end?thanks a lot!
Actual Behaviour
Package Version
6.1.6
Operating System
Windows
Anything Else
The text was updated successfully, but these errors were encountered:
Describe the bug
async def check_loop():
# Run 24/7
while True:
Expected Behaviour
await client.connect() not finishing when the live is end
how can I finish await client.connect() when the live is end?thanks a lot!
Actual Behaviour
Package Version
6.1.6
Operating System
Windows
Anything Else
The text was updated successfully, but these errors were encountered: