chore: enable daily message summary job
This commit is contained in:
@@ -72,7 +72,7 @@ class MessageSummaryPlugin(MessagePluginInterface):
|
|||||||
# 注册功能权限
|
# 注册功能权限
|
||||||
self.feature = self.register_feature()
|
self.feature = self.register_feature()
|
||||||
# 注册定时任务:每天早上9点总结昨天的聊天信息
|
# 注册定时任务:每天早上9点总结昨天的聊天信息
|
||||||
# async_job.at_times(["09:00"])(self.daily_summary_job)
|
async_job.at_times(["09:00"])(self.daily_summary_job)
|
||||||
|
|
||||||
def initialize(self, context: Dict[str, Any]) -> bool:
|
def initialize(self, context: Dict[str, Any]) -> bool:
|
||||||
"""初始化插件"""
|
"""初始化插件"""
|
||||||
|
|||||||
Reference in New Issue
Block a user