Open PATAPOsha opened 6 years ago
Still didn't manage to solve this.
Tried to call both online()
and make_presence()
everywhere wherever possible... as well as
self.toLower(PresenceProtocolEntity(name=name))
and self.toLower(AvailablePresenceProtocolEntity())
Also noticed strange behaviour: bot's status changes to "online" on half of second at the moment bot reads the message.
Managed to set bot's status to online by adding
make_presence()
inset_entity()
inside mac.py:But when bot receives and sends message status changes to "was online".
Tried to call both
make_presence()
andonline()
insidemac.py/send_message()
with no luck. Also if I try to callmake_presence()
directly from my module:it throws error:
What is correct way to stay online while running bot?