总结调整
This commit is contained in:
@@ -49,7 +49,7 @@ class MessageSummaryPlugin(MessagePluginInterface):
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def commands(self) -> List[str]:
|
def commands(self) -> List[str]:
|
||||||
return self._commands
|
return ["总结", "summary"]
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def feature_key(self) -> Optional[str]:
|
def feature_key(self) -> Optional[str]:
|
||||||
@@ -61,7 +61,6 @@ class MessageSummaryPlugin(MessagePluginInterface):
|
|||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super().__init__()
|
super().__init__()
|
||||||
self._commands = []
|
|
||||||
self.message_storage = None
|
self.message_storage = None
|
||||||
self.revoke = None
|
self.revoke = None
|
||||||
# 注册功能权限
|
# 注册功能权限
|
||||||
|
|||||||
Reference in New Issue
Block a user