Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/nonebot/nonebot2
/ __call__
Method
__call__
nonebot/permission.py:29–30 ·
view source on GitHub ↗
(self, type: str = EventType())
Source
from the content-addressed store, hash-verified
27
return
"Message()"
28
29
async
def
__call__(self, type: str = EventType()) -> bool:
30
return
type ==
"message"
31
32
33
class
Notice:
Callers
nothing calls this directly
Calls
1
EventType
Function · 0.90
Tested by
no test coverage detected