事件响应器所在插件
(self)
| 94 | |
| 95 | @property |
| 96 | def plugin(self) -> "Plugin | None": |
| 97 | """事件响应器所在插件""" |
| 98 | from nonebot.plugin import get_plugin |
| 99 | |
| 100 | if self.plugin_id is not None: |
| 101 | return get_plugin(self.plugin_id) |
| 102 | |
| 103 | @property |
| 104 | def plugin_name(self) -> str | None: |
nothing calls this directly
no test coverage detected