MCPcopy
hub / github.com/wechaty/python-wechaty / main

Function main

examples/ding-dong-bot.py:39–44  ·  view source on GitHub ↗

doc

()

Source from the content-addressed store, hash-verified

37
38
39async def main() -> None:
40 """doc"""
41 # pylint: disable=W0603
42 global bot
43 bot = Wechaty().on('message', message)
44 await bot.start()
45
46
47asyncio.run(main())

Callers 1

ding-dong-bot.pyFile · 0.70

Calls 3

WechatyClass · 0.90
onMethod · 0.45
startMethod · 0.45

Tested by

no test coverage detected