From 6920ec3a1183a7c28af0eeb6a4dd0bdefc87514a Mon Sep 17 00:00:00 2001 From: yanyongyu <42488585+yanyongyu@users.noreply.github.com> Date: Fri, 18 Feb 2022 11:12:19 +0800 Subject: [PATCH] :label: fix fullmatch return type error --- nonebot/plugin/on.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nonebot/plugin/on.py b/nonebot/plugin/on.py index 429add59..6136b7ba 100644 --- a/nonebot/plugin/on.py +++ b/nonebot/plugin/on.py @@ -290,7 +290,7 @@ def on_fullmatch( ignorecase: bool = False, _depth: int = 0, **kwargs, -) -> Matcher: +) -> Type[Matcher]: """ 注册一个消息事件响应器,并且当消息的**文本部分**与指定内容完全一致时响应。