MCPcopy
hub / github.com/nonebot/nonebot2 / handler

Function handler

tests/test_broadcast.py:75–77  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

73 runned = False
74
75 async def handler():
76 nonlocal runned
77 runned = True
78
79 with app.provider.context({}):
80 matcher = on_message(handlers=[handler])

Callers 1

simple_runMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected