mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-07-28 08:41:29 +00:00
📝 update doc
This commit is contained in:
@ -417,7 +417,6 @@ class Matcher(metaclass=MatcherMeta):
|
||||
handler = self.handlers.pop(0)
|
||||
signature = inspect.signature(handler)
|
||||
BotType = signature.parameters.get("bot").annotation
|
||||
print(BotType)
|
||||
if BotType is not inspect.Parameter.empty and inspect.isclass(
|
||||
BotType) and not isinstance(bot, BotType):
|
||||
continue
|
||||
|
Reference in New Issue
Block a user