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

Method __call__

nonebot/permission.py:65–66  ·  view source on GitHub ↗
(self, type: str = EventType())

Source from the content-addressed store, hash-verified

63 return "MetaEvent()"
64
65 async def __call__(self, type: str = EventType()) -> bool:
66 return type == "meta_event"
67
68
69MESSAGE: Permission = Permission(Message())

Callers

nothing calls this directly

Calls 1

EventTypeFunction · 0.90

Tested by

no test coverage detected