matcher.send will return bot.send

This commit is contained in:
yanyongyu 2021-02-05 23:13:35 +08:00
parent 7232c89292
commit bf7b2a8cbe

View File

@ -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,