Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
54
def
EventType() -> str:
55
""
"{ref}`nonebot.adapters.Event` 类型参数"
""
56
return
Depends(_event_type)
57
58
59
async
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_type
Function · 0.90
Calls
1
Depends
Function · 0.90
Tested by
no test coverage detected