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
uy/sun
9ff7f4baba
🧑💻 Develop: 添加 ruff RUF 规则 ( #2598 )
...
Co-authored-by: Ju4tCode <42488585+yanyongyu@users.noreply.github.com>
2024-03-07 14:57:26 +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
Bryan不可思议
8f3f385cb6
🐛 Fix: 新增 Lifespan._on_ready()
供适配器使用 ( #2483 )
...
Co-authored-by: Ju4tCode <42488585+yanyongyu@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-12-10 18:12:10 +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
3d5dd5969c
🚨 Develop: 添加 ruff linter ( #2114 )
2023-06-24 14:47:35 +08:00
Ju4tCode
1817102a7c
✨ Feature: 为消息类添加 has
join
include
exclude
方法 ( #1895 )
2023-04-04 21:42:01 +08:00
Ju4tCode
f3aa8c6aa5
🐛 assert bot when disconnect ( #1757 )
2023-03-01 18:22:07 +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
Anh71me
d2f000bb16
Docs: Bump nb-autodoc from 0.x to 1.0.0a5 ( #1661 )
2023-02-02 16:10:22 +08:00
Ju4tCode
2d08465426
✨ add cookies support for forward driver
2022-12-20 10:13:45 +00:00
0eadb44e20
🐛 Fix: Bot __getattr__
不再对 __xxx__
方法返回 ( #1398 )
2022-11-19 16:14:03 +08:00
Ju4tCode
8c42490a7e
🔇 Feature: 调整日志输出格式与等级 ( #1233 )
2022-09-09 11:52:57 +08:00
Mix
92ff1df419
🐛 修复当消息与不支持的类型相加时抛出的异常类型错误 ( #1166 )
2022-08-22 14:39:00 +08:00
Ju4tCode
4974c596ec
💥 remove Python 3.7 support ( #1148 )
2022-08-14 19:41:00 +08:00
Ju4tCode
f11970132c
✨ Fix: 修复 MessageSegment 在有额外数据时报错 ( #1055 )
2022-06-20 15:52:12 +08:00
Ju4tCode
6feed0610b
🐛 fix union validation error ( #1001 )
2022-05-22 19:42:30 +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
b7762b9176
🔒 🐛 Add initial value to vformat results list, fix #781
2022-02-10 13:17:11 +08:00
Mix
28cfa45d95
🐛 Fix Message.template
format spec does not support static method
...
Fixes #770
2022-02-06 18:40:30 +08:00
yanyongyu
118519e15d
♻️ reorganize internal tree
2022-02-06 17:08:11 +08:00