Commit Graph

168 Commits

Author SHA1 Message Date
梦溪畔
6674854c05 Update bot.py修复每次从数据库读取额外加0.5的问题 2025-03-15 15:51:44 +08:00
AL76
ea88420ae2 refactor: 重构所有模块对于logger的初始化方式(可能不全) 2025-03-15 15:10:58 +08:00
Oct-autumn
1d36fd6aaf Merge branch 'main-fix' of github.com:SengokuCola/MaiMBot into main-fix-friendtalk 2025-03-15 03:06:50 +08:00
meng_xi_pan
6abb572125 Merge branch 'main-fix' into relationship 2025-03-15 02:37:16 +08:00
SengokuCola
b31223dec6 Merge pull request #377 from Oct-autumn/main-fix-poke
fix&refactor: 修复“戳一戳”功能的处理逻辑漏洞,重构部分代码以提高代码复用率
2025-03-15 00:58:02 +08:00
meng_xi_pan
642ff138a8 Merge branch 'main-fix' into relationship 2025-03-14 23:47:33 +08:00
SengokuCola
dc054d456b 修改了willing的classical 2025-03-14 23:45:28 +08:00
meng_xi_pan
fcd9413beb 添加一点注释 2025-03-14 23:42:48 +08:00
Oct-autumn
c4a7b61ce9 Merge branch 'main-fix-poke' of github.com:Oct-autumn/MaiMBot into main-fix-poke 2025-03-14 21:56:36 +08:00
Oct-autumn
4786842865 refactor: 重构“戳一戳”与需要考虑回复的消息的处理逻辑
- 将handle_message函数中的消息实例处理部分提取出来,形成message_process函数(提高代码复用率)
  - 将“戳一戳”的通知处理为一条通用消息实例,交由message_process函数处理
  - 同时,由于使用了通用消息实例,“戳一戳”的处理逻辑将与其他消息处理统一经过群组权限鉴别
2025-03-14 21:51:03 +08:00
SengokuCola
c0f9298517 调参仙人有福了,添加了willing_manager的自选功能 2025-03-14 21:34:52 +08:00
Oct-autumn
661932403f fix: 修复私聊时引用消息和撤回消息时发生报错的bug 2025-03-14 19:59:54 +08:00
meng_xi_pan
3d1a58130d Merge branch 'main-fix' into relationship 2025-03-14 18:52:13 +08:00
Oct_Autumn
5078245f1d Merge branch 'main-fix' into main-fix-poke 2025-03-14 17:54:47 +08:00
SengokuCola
08499f747d Merge pull request #383 from SengokuCola/refactor
Refactor
2025-03-14 17:49:27 +08:00
meng_xi_pan
a3927507dc 关系系统大致完善 2025-03-14 17:47:33 +08:00
UnCLAS-Prommer
e00b3ae09c 优雅的新logger! 2025-03-14 17:25:59 +08:00
meng_xi_pan
6a5316bcf8 关系计算函数迁移 2025-03-14 16:38:52 +08:00
tcmofashi
b4fa12f3a1 fix: 更正了部分新增的messageCQ的初始化 2025-03-14 15:56:03 +08:00
tcmofashi
374b64165f Merge remote-tracking branch 'upstream/main-fix' into main-fix 2025-03-14 15:41:25 +08:00
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