📝 update changelog

This commit is contained in:
yanyongyu
2021-03-31 21:20:07 +08:00
parent ca08c56df7
commit 59ec5bacde
7 changed files with 27 additions and 6 deletions

View File

@ -156,7 +156,7 @@ class Bot(abc.ABC):
await bot.call_api("send_msg", message="hello world")
await bot.send_msg(message="hello world")
"""
coros = list(map(lambda x: x(api, data), self._call_api_hook))
coros = list(map(lambda x: x(self, api, data), self._call_api_hook))
if coros:
try:
logger.debug("Running CallingAPI hooks...")