diff --git a/src/chat/emoji_system/emoji_manager.py b/src/chat/emoji_system/emoji_manager.py index 8891629ae..2b5b5f715 100644 --- a/src/chat/emoji_system/emoji_manager.py +++ b/src/chat/emoji_system/emoji_manager.py @@ -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)}") diff --git a/src/plugin_system/apis/send_api.py b/src/plugin_system/apis/send_api.py index cb2f9a49d..16efad9e0 100644 --- a/src/plugin_system/apis/send_api.py +++ b/src/plugin_system/apis/send_api.py @@ -454,7 +454,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( diff --git a/src/plugins/built_in/Maizone/_manifest.json b/src/plugins/built_in/Maizone/_manifest.json index 8f353a6e2..d9999bf5a 100644 --- a/src/plugins/built_in/Maizone/_manifest.json +++ b/src/plugins/built_in/Maizone/_manifest.json @@ -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空间"],