nonebot2/nonebot/matcher.py

28 lines
1.1 KiB
Python
Raw Normal View History

2022-01-18 23:46:10 +08:00
"""本模块实现事件响应器的创建与运行,并提供一些快捷方法来帮助用户更好的与机器人进行对话。
2022-01-16 11:30:09 +08:00
FrontMatter:
mdx:
format: md
2022-01-16 11:30:09 +08:00
sidebar_position: 3
description: nonebot.matcher 模块
"""
2020-06-30 10:13:58 +08:00
from nonebot.internal.matcher import Matcher as Matcher
from nonebot.internal.matcher import matchers as matchers
from nonebot.internal.matcher import current_bot as current_bot
from nonebot.internal.matcher import MatcherSource as MatcherSource
from nonebot.internal.matcher import current_event as current_event
from nonebot.internal.matcher import MatcherManager as MatcherManager
from nonebot.internal.matcher import MatcherProvider as MatcherProvider
from nonebot.internal.matcher import current_handler as current_handler
from nonebot.internal.matcher import current_matcher as current_matcher
from nonebot.internal.matcher import DEFAULT_PROVIDER_CLASS as DEFAULT_PROVIDER_CLASS
2022-01-18 23:46:10 +08:00
__autodoc__ = {
"Matcher": True,
"matchers": True,
"MatcherManager": True,
"MatcherProvider": True,
"DEFAULT_PROVIDER_CLASS": True,
2022-01-18 23:46:10 +08:00
}