alfred82santa / whalesong

Whalesong is an asyncio python library to manage WebApps remotely. Currently WhatsappWeb is implemented
https://whalesong.readthedocs.io
MIT License
50 stars 19 forks source link

If I logout in my phone, how I can check it in Whalesong? #100

Closed Tingaev closed 5 years ago

Tingaev commented 5 years ago

Only Stream: Stream.DISCONNECTED?

DSchndr commented 5 years ago

Check this value.

alfred82santa commented 5 years ago

You could use the property that @DSchndr mentions. It is a calculated property based on value of stream property in stream object (that you mention).

https://whalesong.readthedocs.io/en/latest/api/stream.html#whalesong.managers.stream.Stream.stream

Tingaev commented 5 years ago

@alfred82santa when i run your example minibot.py I get once stream value DICSONNECTED. I can not get this value before auth my number?