💡 add matcher docstring

This commit is contained in:
yanyongyu 2020-10-05 23:10:20 +08:00
parent 781d0cf654
commit 2e989b5fe1

View File

@ -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")