Commit Graph

45 Commits

Author SHA1 Message Date
Ju4tCode
f59271bd47
Feature: 支持子依赖定义 Pydantic 类型校验 (#2310) 2023-08-29 18:45:12 +08:00
Ju4tCode
2e635370bb
Feature: 细化 driver 职责类型 (#2296) 2023-08-26 11:03:24 +08:00
eya46
2e8230e9f4
🐛 Fix: 设置 file request 默认 filename (#2284)
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>
2023-08-23 14:14:07 +08:00
Ju4tCode
9c4ca28d61
🚨 make linter happy (#2286) 2023-08-18 19:07:35 +08:00
eya46
8de25447b3
🐛 Fix: 修复 ArgParam 不支持 Annotated (#2124)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-06-24 19:18:24 +08:00
Ju4tCode
3d5dd5969c
🚨 Develop: 添加 ruff linter (#2114) 2023-06-24 14:47:35 +08:00
Ju4tCode
f6b0809e5f
Feature: 依赖注入支持 Generic TypeVar 和 Matcher 重载 (#2089) 2023-06-11 15:33:33 +08:00
Ju4tCode
aa48299d5d
improve dependency injection params (#2034) 2023-05-21 16:01:55 +08:00
Ju4tCode
1817102a7c
Feature: 为消息类添加 has join include exclude 方法 (#1895) 2023-04-04 21:42:01 +08:00
Johnny Hsieh
3e92fccd4e
Feature: 为子依赖添加 PEP593 Annotated 支持 (#1832)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-03-22 20:54:46 +08:00
Ju4tCode
78bbf9e623
🐛 Fix: 修复 bot hook 缺少依赖缓存和上下文管理 (#1826) 2023-03-20 22:37:57 +08:00
Ju4tCode
ba808c85d5
improve user permission accessibility (#1825) 2023-03-20 12:39:17 +08:00
Ju4tCode
36e99bc3ea
Feature: 移除内置响应规则事件类型限制 (#1824) 2023-03-19 15:45:32 +08:00
Ju4tCode
8f44df371a
allow using matcher subclass (#1815) 2023-03-17 15:48:48 +08:00
Ju4tCode
3462295562
🐛 fix missing cache in session updater (#1807) 2023-03-16 15:51:48 +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
Akirami
06c33ad6ea
Feature: 支持主动销毁事件响应器 (#1444)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-12-06 14:19:48 +08:00
Ju4tCode
2922da7b2f
Feature: 支持自定义 matchers 存储管理 (#1395) 2022-11-21 18:44:55 +08:00
synodriver
0eadb44e20
🐛 Fix: Bot __getattr__ 不再对 __xxx__ 方法返回 (#1398) 2022-11-19 16:14:03 +08:00
Ju4tCode
a50990bef2
🐛 fix run pre/post hook not in context (#1391) 2022-11-15 10:50:52 +08:00
Ju4tCode
71aad502d1
🐛 Fix: 内置规则和权限没有捕获错误 (#1291) 2022-09-29 16:56:06 +08:00
Ju4tCode
8c42490a7e
🔇 Feature: 调整日志输出格式与等级 (#1233) 2022-09-09 11:52:57 +08:00
Akirami
beef564a22
🔥 remove unused imports (#1236) 2022-09-08 10:37:16 +08:00
Ju4tCode
a0b186aff3
♻️ improve dependent structure (#1227) 2022-09-07 09:59:05 +08:00
Ju4tCode
cd30be21ba
🐛 fix nested user permission update (#1208) 2022-09-01 10:41:43 +08:00
Mix
92ff1df419
🐛 修复当消息与不支持的类型相加时抛出的异常类型错误 (#1166) 2022-08-22 14:39:00 +08:00
Ju4tCode
4deae8f00c
🔥 remove deprecated State param (#1160) 2022-08-20 10:17:52 +08:00
Ju4tCode
4974c596ec
💥 remove Python 3.7 support (#1148) 2022-08-14 19:41:00 +08:00
Dobiichi-Origami
c03b0c73cb
Feature: on_x 支持 expire_time 参数 (#1106)
Co-authored-by: Dobiichi-Origami <454470535@qq.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: yanyongyu <42488585+yanyongyu@users.noreply.github.com>
2022-07-20 10:21:31 +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
Ju4tCode
56f99b7f0b
Feat: 支持 WebSocket 连接同时获取 str 或 bytes (#962) 2022-05-14 21:06:57 +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
Ju4tCode
2f3324ce0c
🐛 Fix: Bot Hook 没有捕获跳过异常 (#905) 2022-04-04 10:35:14 +08:00
Ju4tCode
45e2e6c280
🐛 fix event maybe converted when checking type (#876)
Fix: 修复 event 类型检查会对类型进行自动转换
2022-03-20 19:40:43 +08:00
Ju4tCode
02de6fd266
add rule permission reflected operation support (#872)
Feature: 添加 Rule, Permission 反向位运算支持
2022-03-17 21:11:37 +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
yanyongyu
924d9b6536
✏️ fix changelog and typing 2022-02-06 15:24:41 +08:00
yanyongyu
fd11e2696b
♻️ reorganize class and add bot hook di 2022-02-06 14:52:50 +08:00