mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-11-27 18:45:05 +08:00
💡 add matcher docstring
This commit is contained in:
parent
781d0cf654
commit
2e989b5fe1
@ -16,6 +16,10 @@ from nonebot.typing import Bot, Event, Handler, Message, ArgsParser, MessageSegm
|
||||
from nonebot.exception import PausedException, RejectedException, FinishedException
|
||||
|
||||
matchers: Dict[int, List[Type["Matcher"]]] = defaultdict(list)
|
||||
"""
|
||||
:类型: ``Dict[int, List[Type[Matcher]]]``
|
||||
:说明: 用于存储当前所有的 ``Matcher``
|
||||
"""
|
||||
current_bot: ContextVar = ContextVar("current_bot")
|
||||
current_event: ContextVar = ContextVar("current_event")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user