mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-07-16 11:00:54 +00:00
📝 update how to work doc
Co-authored-by: AkiraXie <l997460364@outlook.com>
This commit is contained in:
@ -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",
|
||||
|
Reference in New Issue
Block a user