📝 update doc

This commit is contained in:
yanyongyu
2021-05-10 18:42:32 +08:00
parent 41c5ac0ac7
commit faf7a3b500
7 changed files with 20 additions and 6 deletions

View File

@ -67,10 +67,22 @@ class Matcher(metaclass=MatcherMeta):
"""
plugin_name: Optional[str] = module and getattr(module, "__plugin_name__",
None)
"""
:类型: ``Optional[str]``
:说明: 事件响应器所在插件名
"""
module_name: Optional[str] = module and getattr(module, "__module_name__",
None)
"""
:类型: ``Optional[str]``
:说明: 事件响应器所在模块名
"""
module_prefix: Optional[str] = module and getattr(module,
"__module_prefix__", None)
"""
:类型: ``Optional[str]``
:说明: 事件响应器所在模块前缀
"""
type: str = ""
"""