feat(plugin): support auto bot injection and file-based hot reload
This commit is contained in:
@@ -548,6 +548,9 @@ class MessageSummaryPlugin(MessagePluginInterface):
|
||||
async def daily_summary_job(self):
|
||||
"""定时任务:每天早上9点总结昨天的聊天信息"""
|
||||
try:
|
||||
if not self.bot:
|
||||
self.LOG.warning("每日聊天总结任务跳过:bot 尚未注入")
|
||||
return
|
||||
self.LOG.info("开始执行每日聊天总结任务")
|
||||
|
||||
# 计算昨天的时间范围
|
||||
|
||||
Reference in New Issue
Block a user