MCPcopy
hub / github.com/nonebot/nonebot2 / permission.py

File permission.py

nonebot/permission.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1"""本模块是 {ref}`nonebot.matcher.Matcher.permission` 的类型定义。
2
3每个{ref}`事件响应器 <nonebot.matcher.Matcher>`
4拥有一个 {ref}`nonebot.permission.Permission`,其中是 `PermissionChecker` 的集合。

Callers

nothing calls this directly

Calls 6

PermissionClass · 0.90
NoticeClass · 0.85
MetaEventClass · 0.85
SuperUserClass · 0.85
MessageClass · 0.70
RequestClass · 0.70

Tested by

no test coverage detected