🔀 Merge pull request #242

Docs: update how-to-work doc
This commit is contained in:
Ju4tCode
2021-02-26 17:06:26 +08:00
committed by GitHub
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",