(self, plugin_name: str)
| 15 | """插件 hook 管理器""" |
| 16 | |
| 17 | def __init__(self, plugin_name: str): |
| 18 | self.plugin_name = plugin_name |
| 19 | self.target_send_hooks: list[Callable] = [] |
| 20 | self.user_activity_hooks: list[Callable] = [] |
| 21 | self.group_activity_hooks: list[Callable] = [] |
| 22 | |
| 23 | def register_target_send_hook(self, func: Callable): |
| 24 | """注册 target_send 方法 hook""" |
nothing calls this directly
no outgoing calls
no test coverage detected