From bf7b2a8cbeafd55c2cf576545b63ff17d50b8866 Mon Sep 17 00:00:00 2001 From: yanyongyu Date: Fri, 5 Feb 2021 23:13:35 +0800 Subject: [PATCH] :wheelchair: matcher.send will return bot.send --- nonebot/matcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nonebot/matcher.py b/nonebot/matcher.py index 0fda9f3d..4c22be8f 100644 --- a/nonebot/matcher.py +++ b/nonebot/matcher.py @@ -418,7 +418,7 @@ class Matcher(metaclass=MatcherMeta): """ bot = current_bot.get() event = current_event.get() - await bot.send(event=event, message=message, **kwargs) + return await bot.send(event=event, message=message, **kwargs) @classmethod async def finish(cls,