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

Function EventType

nonebot/params.py:54–56  ·  view source on GitHub ↗

{ref}`nonebot.adapters.Event` 类型参数

()

Source from the content-addressed store, hash-verified

52
53
54def EventType() -> str:
55 """{ref}`nonebot.adapters.Event` 类型参数"""
56 return Depends(_event_type)
57
58
59async def _event_message(event: Event) -> Message:

Callers 5

__call__Method · 0.90
__call__Method · 0.90
__call__Method · 0.90
__call__Method · 0.90
event_typeFunction · 0.90

Calls 1

DependsFunction · 0.90

Tested by

no test coverage detected