📝 update how to work doc

Co-authored-by: AkiraXie <l997460364@outlook.com>
This commit is contained in:
yanyongyu
2021-02-26 17:00:38 +08:00
parent 9ea80abf8c
commit 3c312d9759
5 changed files with 180 additions and 2 deletions

View File

@ -484,6 +484,11 @@ class Matcher(metaclass=MatcherMeta):
raise RejectedException
def stop_propagation(self):
"""
:说明:
阻止事件传播
"""
self.block = True
async def run_handler(self, handler: T_Handler, bot: "Bot", event: "Event",