Handle the login event
(user: Contact)
| 59 | |
| 60 | |
| 61 | async def handle_login(user: Contact) -> None: |
| 62 | """Handle the login event""" |
| 63 | log.info('%s logged in', user.name) |
| 64 | await user.say('wechaty contact-bot just logged in') |
| 65 | await display_contacts() |
| 66 | |
| 67 | |
| 68 | async def main() -> None: |
nothing calls this directly
no test coverage detected