擴展event字段

This commit is contained in:
2024-08-20 20:38:10 +08:00
parent eb7c8300fa
commit 598bff8c49
8 changed files with 30 additions and 52 deletions

View File

@ -45,7 +45,7 @@ class Matcher:
self.handlers.append(handler)
return handler
async def run(self, event: Event) -> None:
async def run(self, event: MessageEvent) -> None:
"""
运行处理函数
Args: