add state online
This commit is contained in:
@@ -155,7 +155,7 @@ class MatrixBot:
|
|||||||
if await self._login():
|
if await self._login():
|
||||||
await self.send_status(f"{self.botname} Online!")
|
await self.send_status(f"{self.botname} Online!")
|
||||||
await self._activate_skills()
|
await self._activate_skills()
|
||||||
await self.client.sync_forever(timeout=30000)
|
await self.client.sync_forever(timeout=30000, set_presence='online')
|
||||||
|
|
||||||
|
|
||||||
def parse_args() -> argparse.Namespace:
|
def parse_args() -> argparse.Namespace:
|
||||||
|
|||||||
Reference in New Issue
Block a user