zhenxun_bot/zhenxun/builtin_plugins/admin
molanp 872d2499a2
feat(ban): 在调用ban列表时主动删除过期数据 (#1997)
* feat(ban): 在调用ban列表时主动删除过期数据
- 除了接收到被ban用户的信息外,现在主动调用`ban列表`命令也会删除过期数据
- 修复 unban 返回信息错误

* refactor(ban): 优化 unban 函数返回值逻辑

- 使用或运算简化返回值判断逻辑
- 移除不必要的字符串转换

* refactor(zhenxun): 优化 unban 函数返回值类型

- 将 unban 函数的返回类型从 tuple[bool, str | None] 改为 tuple[bool, str]
- 修改返回值,确保总是返回字符串类型,避免类型检查错误
2025-08-05 19:12:15 +08:00
..
admin_help 添加bot画像 2025-07-16 02:51:06 +08:00
ban feat(ban): 在调用ban列表时主动删除过期数据 (#1997) 2025-08-05 19:12:15 +08:00
group_member_update 支持git更新(github与aliyun codeup),插件商店支持aliyun codeup (#1999) 2025-08-05 17:49:23 +08:00
plugin_switch 引入缓存机制 (#1889) 2025-07-14 22:35:29 +08:00
welcome_message 首次启动时提供使用web ui方式完全配置 (#1870) 2025-06-16 09:11:41 +08:00
__init__.py init🎉: 首次提交 2024-02-04 04:18:54 +08:00
admin_watch.py Compatible with pydantic 2.0 using the pydantic compatibility layer provided by nonebot 2025-01-10 12:19:11 +08:00
group_update.py Compatible with pydantic 2.0 using the pydantic compatibility layer provided by nonebot 2025-01-10 12:19:11 +08:00