Skip to content

Commit b7f63ed

Browse files
committed
[Docs] Update docs
1 parent c32e375 commit b7f63ed

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/melobot/plugin/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88

99
class Plugin(BetterABC):
10-
"""插件基类,你需要把以下属性作为类属性或实例属性初始化"""
10+
"""插件基类,子类需要把以下属性按 :func:`.abstractattr` 的要求实现"""
1111

1212
version: str = abstractattr()
1313
"""插件版本

src/melobot/protocol.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
class ProtocolStack(BetterABC):
99
"""协议栈抽象类
1010
11-
子类需要把以下属性按 :func:`.abstractattr` 的要求定义
11+
子类需要把以下属性按 :func:`.abstractattr` 的要求实现
1212
"""
1313

1414
inputs: Sequence[AbstractInSource] = abstractattr()

src/melobot/session/option.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
class Rule(BetterABC, Generic[EventT]):
1010
"""会话规则
1111
12-
对于更复杂的情况,可以继承此类,在子类中结合状态信息实现更动态的会话判断过程
12+
对于更复杂的情况,可以继承此类,在子类中结合状态信息实现更动态的会话判断
1313
"""
1414

1515
@staticmethod

0 commit comments

Comments
 (0)