Commit Graph

26 Commits

Author SHA1 Message Date
Ju4tCode
081dc8352d
🚨 Develop: 完全使用 ruff 替代 isort 与 black (#3151) 2024-12-01 12:31:11 +08:00
Ju4tCode
ff21ceb946
Feature: 迁移至结构化并发框架 AnyIO (#3053) 2024-10-26 15:36:01 +08:00
Ju4tCode
4a02dde83f
💥 Remove: 移除 Python 3.8 支持 (#2641) 2024-04-16 00:33:48 +08:00
student_2333
11142253fb
🐛 Fix: Message.__contains__() 未考虑 bool(MessageSegment) 存在 False 情况导致的异常结果 (#2572)
Co-authored-by: Ju4tCode <42488585+yanyongyu@users.noreply.github.com>
2024-02-12 17:53:50 +08:00
pre-commit-ci[bot]
4dae23d3bb
⬆️ auto update by pre-commit hooks (#2565)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Ju4tCode <42488585+yanyongyu@users.noreply.github.com>
2024-02-06 12:48:23 +08:00
Ju4tCode
bbd13c04cc
Feature: 兼容 Pydantic v2 (#2544)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-01-26 11:12:57 +08:00
Johnny Hsieh
b65b3b438c
🐛 Fix: MessageTemplate 禁止访问私有属性 (#2509)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-01-04 11:11:37 +08:00
Ailitonia
60e0752f1a
🐛 Fix: bot.call_api 在被 called api hook mock 后应该忽略 exception (#2374)
Co-authored-by: Ju4tCode <42488585+yanyongyu@users.noreply.github.com>
2023-09-25 11:02:50 +08:00
Ju4tCode
2e635370bb
Feature: 细化 driver 职责类型 (#2296) 2023-08-26 11:03:24 +08:00
Ju4tCode
080b876d93
👷 Test: 移除 httpbin 并整理测试 (#2110) 2023-06-19 17:48:59 +08:00
Ju4tCode
1817102a7c
Feature: 为消息类添加 has join include exclude 方法 (#1895) 2023-04-04 21:42:01 +08:00
Ju4tCode
74743e6176
Develop: 升级 NoneBug 版本 (#1725) 2023-02-22 23:32:48 +08:00
Ju4tCode
73126535ef
⬆️ upgrade pre-commit config (#1674)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-02-05 12:57:31 +08:00
Mix
92ff1df419
🐛 修复当消息与不支持的类型相加时抛出的异常类型错误 (#1166) 2022-08-22 14:39:00 +08:00
Ju4tCode
f11970132c
Fix: 修复 MessageSegment 在有额外数据时报错 (#1055) 2022-06-20 15:52:12 +08:00
Mix
95331bbb22
🐛 Fix MessageTemplate improper behavior when no format spec (#947)
* 🧪 Add a test to figure out bug in #938

* ♻️ 🐛 Refactor rich message template formatting, fix #938
2022-04-30 09:59:23 +08:00
Mix
04fe654d74
📝 Add document for message template (#789)
* 📝 Add document for message template

* 📝 🎨 Optimize example reading experience for message template

* 🚨 auto fix by pre-commit hooks

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-02-12 16:15:06 +08:00
Mix
dc982fe5eb Fix update cause failed test 2022-02-10 15:12:27 +08:00
Mix
455c599b06 🧪 Add a fail test to reproduce #781 2022-02-10 13:15:59 +08:00
yanyongyu
460efe436d
📝 add message document 2022-02-07 17:40:26 +08:00
Mix
f4395d77d7 Add test to prove the fix is valid 2022-02-06 18:55:19 +08:00
yanyongyu
2cd6867bd1
add more tests 2022-01-30 11:04:02 +08:00
yanyongyu
f3cc93c699
add more tests 2022-01-30 00:05:01 +08:00
yanyongyu
5abf55d095
add message tests 2022-01-29 23:39:13 +08:00
Mix
b037be4485 add unit test for message slice 2022-01-17 00:29:09 +08:00
yanyongyu
0a10a3c18b 📝 add examples 2022-01-07 18:38:04 +08:00