逐步适配新的config

This commit is contained in:
UnCLAS-Prommer
2026-01-15 23:51:19 +08:00
parent c8b4366501
commit 77725ba9d8
12 changed files with 111 additions and 30 deletions

View File

@@ -11,4 +11,10 @@ version 0.3.0 - 2026-01-11
- [x] 配置类中的所有原子项目应该只包含以下类型: `str`, `int`, `float`, `bool`, `list`, `dict`, `set`
- [x] 禁止使用 `Union` 类型
- [x] 禁止使用`tuple`类型,使用嵌套`dataclass`替代
- [x] 复杂类型使用嵌套配置类实现
- [x] 复杂类型使用嵌套配置类实现
- [x] 配置类中禁止使用除了`model_post_init`的方法
- [x] 取代了部分与标准函数混淆的命名
- [x] `id` -> `item_id`
### BotConfig 设计
- [ ] 精简了配置项现在只有Nickname和Alias Name了预期将判断提及移到Adapter端