修复emoji_manager.py中的数据库持久化逻辑;更新Maizone插件的作者信息和项目链接。

This commit is contained in:
minecraft1024a
2025-08-13 11:30:44 +08:00
parent 7bf18e3518
commit 9c11dd9b0f
3 changed files with 6 additions and 6 deletions

View File

@@ -429,7 +429,7 @@ class EmojiManager:
else:
emoji_update.usage_count += 1
emoji_update.last_used_time = time.time() # Update last used time
emoji_update.save() # Persist changes to DB
session.commit() # Persist changes to DB
except Exception as e:
logger.error(f"记录表情使用失败: {str(e)}")

View File

@@ -499,7 +499,7 @@ async def adapter_command_to_stream(
}
# 创建消息段
message_segment = Seg(type="adapter_command", data=adapter_command_data)
message_segment = Seg(type="adapter_command", data=adapter_command_data) # type: ignore
# 构建发送消息对象
bot_message = MessageSending(

View File

@@ -4,8 +4,8 @@
"version": "2.0.0",
"description": "让你的麦麦发QQ空间说说、评论、点赞支持AI配图、定时发送和自动监控功能",
"author": {
"name": "重构版",
"url": "https://github.com/internetsb"
"name": "MaiBot-Plus",
"url": "https://github.com/MaiBot-Plus"
},
"license": "AGPL-v3.0",
@@ -13,8 +13,8 @@
"min_version": "0.8.0",
"max_version": "0.10.0"
},
"homepage_url": "https://github.com/internetsb/Maizone",
"repository_url": "https://github.com/internetsb/Maizone",
"homepage_url": "https://github.com/MaiBot-Plus/MaiMbot-Pro-Max",
"repository_url": "https://github.com/MaiBot-Plus/MaiMbot-Pro-Max",
"keywords": ["QQ空间", "说说", "动态", "评论", "点赞", "自动化", "AI配图"],
"categories": ["社交", "自动化", "QQ空间"],