Commit Graph

148 Commits

Author SHA1 Message Date
tcmofashi
d3fe02e467 fix: 增大了默认的maxtoken防止溢出,messagecq改异步get_image防止阻塞 2025-03-14 15:38:33 +08:00
Oct-autumn
5be793a054 refactor: 重构“戳一戳”与需要考虑回复的消息的处理逻辑
- 将handle_message函数中的消息实例处理部分提取出来,形成message_process函数(提高代码复用率)
  - 将“戳一戳”的通知处理为一条通用消息实例,交由message_process函数处理
  - 同时,由于使用了通用消息实例,“戳一戳”的处理逻辑将与其他消息处理统一经过群组权限鉴别
2025-03-14 15:32:10 +08:00
HYY1116
41b6cdba86 feat:尝试增加不回答已撤回消息的功能(但似乎目前不起作用) 2025-03-13 20:44:32 +08:00
HYY1116
75f9498843 Merge branch 'debug' of https://github.com/HYY1116/MaiMBot into debug 2025-03-13 20:43:06 +08:00
HYY1116
4489952777 fix&feat:修复回应所有戳一戳的问题;尝试增加不回答已撤回消息的功能(但似乎目前不起作用) 2025-03-13 20:33:39 +08:00
ChangingSelf
5a2d133fe5 Merge branch 'debug' of github.com:ChangingSelf/MaiMBot into debug 2025-03-13 20:00:05 +08:00
ChangingSelf
a718598fb6 读取戳一戳的自定义文案,并解除bot被戳时误以为用户是拿刀戳自己的误会 2025-03-13 19:58:56 +08:00
SengokuCola
31b29cb3dd Merge branch 'debug' of https://github.com/SengokuCola/MaiMBot into debug 2025-03-13 19:22:20 +08:00
SengokuCola
0b8124d883 尝试建立新的日志系统
1
2025-03-13 19:22:17 +08:00
ChangingSelf
831ed2b263 Merge remote-tracking branch 'upstream/debug' into debug 2025-03-13 18:55:42 +08:00
晴猫
8a992addeb Merge pull request #274 from Pocketfans/willing_cycles
让回复意愿更加拟人,增加高低回复意愿周期,且增加了一个简单的追问回复功能
2025-03-13 16:02:11 +09:00
ChangingSelf
056d1537cb 修复回复非自己的戳一戳,以及识别拍一拍等文案 2025-03-13 13:10:35 +08:00
Cindy-Master
f1e38e8b13 fix: ban_user_id在回复的情况下可能被绕过 2025-03-13 09:32:33 +08:00
ChangingSelf
29f0afecfa Merge branch 'debug' of github.com:ChangingSelf/MaiMBot into debug 2025-03-13 01:40:29 +08:00
ChangingSelf
4ffffb3b60 close SengokuCola/MaiMBot#246 添加戳一戳回应功能 2025-03-13 01:38:53 +08:00
Pliosauroidea
eafc3dea71 修正了message变动导致的私聊error 2025-03-12 23:16:29 +08:00
HYY
8ee53fb312 fix:修复一处小bug,并且把print改为logger,减少review血压 2025-03-12 22:01:05 +08:00
Pocketfans
144475d2f4 让回复意愿更加拟人,增加高低回复意愿周期,且增加了一个简单的追问回复功能 2025-03-12 17:57:50 +08:00
UnCLAS-Prommer
6c5f56b23d 修正我修typo产生的typo 2025-03-12 17:18:39 +08:00
UnCLAS-Prommer
72754a0f2f No More Typo Please 2025-03-12 17:13:37 +08:00
Pliosauroidea
90d169f740 将价格print改为对应的logger输出 2025-03-12 07:44:57 +08:00
SengokuCola
d524409c18 Merge branch 'debug' into debug 2025-03-12 00:29:59 +08:00
SengokuCola
ed18f2e96d 新增了知识库一键启动漂亮脚本 2025-03-11 23:46:49 +08:00
Pliosauroidea
cd16e68223 修复表情包发送时的缺失参数 2025-03-11 22:47:20 +08:00
Pliosauroidea
3c8c8977e6 屏蔽一个臃肿的debug信息 2025-03-11 22:11:10 +08:00
Pliosauroidea
9d0152a2b2 修复了合并过程中造成的代码重复 2025-03-11 21:41:36 +08:00
Pliosauroidea
956135cad9 添加一些注释 2025-03-11 21:23:07 +08:00
Pliosauroidea
a41274156b 将print变为logger.debug 2025-03-11 21:14:32 +08:00
Pliosauroidea
3180426727 修复了没有改掉的typo字段 2025-03-11 21:08:19 +08:00
Pliosauroidea
aea3bffd99 添加私聊过滤开关,更新config,增加约束 2025-03-11 20:55:54 +08:00
Pliosauroidea
baed8560fb 修正了私聊屏蔽词输出 2025-03-11 20:48:11 +08:00
Pliosauroidea
5aeafca756 Merge branch 'debug' of https://github.com/Pliosauroidea/MaiMBot into debug 2025-03-11 20:45:12 +08:00
Pliosauroidea
33cd83b895 添加私聊功能 2025-03-11 20:01:38 +08:00
tcmofashi
b19902919e Merge remote-tracking branch 'upstream/debug' into refractor 2025-03-11 19:51:03 +08:00
tcmofashi
ef8691cd9e fix: 修改message继承逻辑,修复回复消息无法识别 2025-03-11 19:30:20 +08:00
八分橘子
e1019ade3c fix: 修复变量拼写错误并优化代码可读性 2025-03-11 18:52:32 +08:00
八分橘子
bfa9a3c026 fix: 添加群信息获取的错误处理 (#173) 2025-03-11 18:40:03 +08:00
SengokuCola
af962c2e84 修复了情绪管理器没有正确导入导致发布出消息
1
2025-03-11 16:50:40 +08:00
Rikki
67f6d7cd42 fix: 保证能运行的小修改 2025-03-11 06:54:04 +08:00
Rikki
0cf4ff0a4d Merge remote-tracking branch 'upstream/debug' into tc_refractor 2025-03-11 06:01:54 +08:00
Rikki
a54ca8ce18 Merge remote-tracking branch 'upstream/debug' into feat_regix 2025-03-11 05:05:07 +08:00
tcmofashi
8cbf9bb048 feat: 史上最好的消息流重构和图片管理 2025-03-11 04:42:24 +08:00
tcmofashi
7899e67cb2 feat: 重构完成开始测试debug 2025-03-11 01:15:32 +08:00
ChangingSelf
84495f8329 fix 2025-03-11 00:20:55 +08:00
ChangingSelf
204744cd71 修改配置名与修改过滤对象为raw_message 2025-03-11 00:12:19 +08:00
ChangingSelf
1b611ecce5 resolve SengokuCola/MaiMBot#167 根据正则表达式过滤消息 2025-03-10 22:52:14 +08:00
tcmofashi
20b8778e2b Merge branch 'refractor' of https://github.com/tcmofashi/MaiMBot into refractor 2025-03-10 21:01:06 +08:00
tcmofashi
6e2ea8261b refractor: 几乎写完了,进入测试阶段 2025-03-10 20:59:41 +08:00
AL76
052e67b576 refactor: 日志打印优化(终于改完了,爽了 2025-03-10 02:25:03 +08:00
AL76
5746afaa2a refactor: logger in src\plugins\chat\bot.py 2025-03-10 00:33:13 +08:00