Commit Graph

88 Commits

Author SHA1 Message Date
DrSmoothl
0d9eff7001 feat: 更新命令查找逻辑,支持返回匹配的命名捕获组,并优化旧连接请求处理 2026-03-13 10:37:07 +08:00
UnCLAS-Prommer
272d0368b8 注释掉pfc内容,暂时恢复部分代码保证可启动性 2026-03-13 01:02:05 +08:00
DrSmoothl
8f7f31a164 feat: 优化插件调用逻辑,重构命令匹配和事件处理,增强插件管理能力 2026-03-13 00:47:09 +08:00
DrSmoothl
ce8d8dfd0a 重构整个插件系统,尝试恢复可启动性,新增插件系统maibot-plugin-sdk依赖 2026-03-07 19:40:51 +08:00
DrSmoothl
2e3dd44ee9 Refactor chat stream handling to use BotChatSession
- Updated imports and references from ChatStream to BotChatSession across multiple files.
- Adjusted method signatures and internal logic to accommodate the new session management.
- Ensured compatibility with existing functionality while improving code clarity and maintainability.
2026-03-07 00:57:37 +08:00
DrSmoothl
baae2df154 feat: 集成新版本插件运行时,支持事件桥接与命令处理 2026-03-06 16:37:56 +08:00
UnCLAS-Prommer
a39ccedb9a 应要求提交上未完成的HFC, expression部分 2026-02-28 21:14:46 +08:00
DrSmoothl
eaef7f0e98 Ruff Format 2026-02-21 16:24:24 +08:00
墨梓柒
7bdd394bf0 将PFC加回来,修复一大堆PFC的神秘报错 2026-01-16 03:36:25 +08:00
墨梓柒
e680a4d1f5 Ruff format 2025-12-13 17:14:09 +08:00
SengokuCola
eb86d3ed43 remove:移除情绪功能 2025-12-07 00:56:06 +08:00
SengokuCola
056a909c77 feat:将是否拦截改为拦截登记 2025-12-03 09:52:23 +08:00
SengokuCola
265d946ebd feat:正确拦截消息 2025-11-26 16:09:44 +08:00
墨梓柒
7839acd25d Ruff fix 2025-11-13 13:24:55 +08:00
xiaoxi68
12bd9f368d fix(bot): 恢复戳一戳正常响应 2025-11-10 19:04:00 +08:00
xiaoxi68
cb5962f739 fix: 撤回通知日志优化并避免二次空日志 2025-10-30 13:22:29 +08:00
exynos
817154a72b 标准化“被@”识别与平台解耦:更改 maim_message 以适配tg等后续平台的视频 2025-10-13 16:00:15 +08:00
SengokuCola
92e90a0bee feat:添加频率精准控制,移除s4u代码,优化tool返回值 2025-10-02 01:19:05 +08:00
SengokuCola
aeeceeb32b fix:修复转义问题 2025-10-02 00:06:50 +08:00
墨梓柒
e9a5488b62 Ruff Fix 2025-09-28 00:02:18 +08:00
UnCLAS-Prommer
a2bbbf263c fix filter 2025-09-24 19:52:55 +08:00
UnCLAS-Prommer
680593d57c fix #1253 2025-09-23 21:02:03 +08:00
magisk317
89fb98c7f4 Fix TypeError in _check_ban_regex by handling NoneType raw_message
- Add None check for text parameter in _check_ban_regex function
- Prevents TypeError when message.raw_message is None
- Fixes issue: expected string or bytes-like object, got 'NoneType'
2025-09-17 11:28:44 +08:00
UnCLAS-Prommer
d560d02761 echo消息处理 2025-09-14 16:17:44 +08:00
UnCLAS-Prommer
ab64eee343 action, command, event_handler易用方法更新,增加语音,混合,转发消息的发送 2025-09-14 00:14:01 +08:00
UnCLAS-Prommer
87529b63e3 添加更多种类的发送类型 2025-09-09 22:34:10 +08:00
UnCLAS-Prommer
b636683fe4 增加了event_handler修改内容的方法 2025-09-07 01:15:21 +08:00
UnCLAS-Prommer
6bbf9ed216 typo 2025-08-22 00:30:41 +08:00
UnCLAS-Prommer
1461338c0c typing fix 2025-08-13 22:51:34 +08:00
SengokuCola
f0fff5a039 fix:person创建和调用区分 2025-08-12 15:15:50 +08:00
SengokuCola
d1f15a932a fix:缺少stream的报错 2025-08-08 21:20:28 +08:00
SengokuCola
a2c86f3605 feat:部分处理notify,自动同步数据库null约束变更
notify存储至message库
2025-08-08 12:34:21 +08:00
UnCLAS-Prommer
bbb112d803 动态控制命令后续处理 2025-07-25 11:01:14 +08:00
UnCLAS-Prommer
d6284b6b4c 插件管理API测试与修改通过 2025-07-24 00:31:53 +08:00
UnCLAS-Prommer
10bf424540 增加了组件的局部禁用方法 2025-07-23 00:41:31 +08:00
SengokuCola
95d6ee1213 修复合并错误 2025-07-22 21:15:02 +08:00
SengokuCola
2a8d29332e Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev 2025-07-22 20:42:36 +08:00
SengokuCola
75022b5d10 s4u的一些修改,包括动作适配 2025-07-22 20:36:53 +08:00
UnCLAS-Prommer
484fc20983 typing and plugins 2025-07-21 01:23:23 +08:00
SengokuCola
faeb76bdd2 fix:s4u由platform触发 2025-07-20 14:24:44 +08:00
SengokuCola
a150aa7b2b feat:noreply不考虑command 2025-07-15 21:37:32 +08:00
SengokuCola
5ec0d42cde feat:添加新的message类为s4u服务,添加s4u config,添加sc和gift的解析,修复关系构建的一些问题 2025-07-15 17:04:30 +08:00
UnCLASPrommer
eae399fb95 typing change, use enum instead of string, fix typo 2025-07-14 23:40:09 +08:00
SengokuCola
e987b6331f Update bot.py 2025-07-13 15:50:08 +08:00
SengokuCola
6226de10ea remove:移除pfc遗留代码 2025-07-13 15:19:56 +08:00
UnCLAS-Prommer
f890722c3d Merge branch 'dev' into plugin 2025-07-13 01:28:48 +08:00
SengokuCola
6f1add930b feat:统一化模式动作,移除模式配置 2025-07-12 23:24:02 +08:00
UnCLAS-Prommer
b303a95f61 部分类型注解修复,优化import顺序,删除无用API文件 2025-07-12 00:34:49 +08:00
SengokuCola
50f0ddf2ce feat;新的情绪系统 2025-07-09 01:50:26 +08:00
UnCLAS-Prommer
1ea5d28d73 防止新版的notify炸消息 2025-07-07 16:57:44 +08:00