zhenxun_bot/zhenxun/builtin_plugins
Rumio b993450a23
feat(limit, message): 引入声明式限流系统并增强消息格式化功能 (#1978)
- 新增 Cooldown、RateLimit、ConcurrencyLimit 三种限流依赖
- MessageUtils 支持动态格式化字符串 (format_args 参数)
- 插件CD限制消息显示精确剩余时间

- 重构限流逻辑至 utils/limiters.py,新增时间工具模块
- 整合时间工具函数并优化时区处理
- 新增 limiter_hook 自动释放资源,CooldownError 优化异常处理

- 冷却提示从固定文本改为动态显示剩余时间
- 示例:总结功能冷却中,请等待 1分30秒 后再试~

Co-authored-by: webjoin111 <455457521@qq.com>
Co-authored-by: HibiKier <45528451+HibiKier@users.noreply.github.com>
2025-07-15 17:13:33 +08:00
..
admin 引入缓存机制 (#1889) 2025-07-14 22:35:29 +08:00
auto_update 检查更新支持webui更新 (#1925) 2025-07-11 10:11:14 +08:00
chat_history 引入缓存机制 (#1889) 2025-07-14 22:35:29 +08:00
check 🚨 Add specific ignore items in pyright ignore 2025-01-10 12:19:11 +08:00
help 引入缓存机制 (#1889) 2025-07-14 22:35:29 +08:00
hooks feat(limit, message): 引入声明式限流系统并增强消息格式化功能 (#1978) 2025-07-15 17:13:33 +08:00
info 新增好感度/金币设置和详细帮助 (#1831) 2025-01-10 18:39:23 +08:00
init 引入缓存机制 (#1889) 2025-07-14 22:35:29 +08:00
llm_manager feat(llm): 新增LLM模型管理插件并增强API密钥管理 (#1972) 2025-07-14 22:39:17 +08:00
mahiro_bank 添加真寻银行 2025-05-26 10:55:30 +08:00
platform 引入缓存机制 (#1889) 2025-07-14 22:35:29 +08:00
plugin_store 优化虚拟环境管理,插件管理支持名称添加 (#1932) 2025-06-23 19:29:03 +08:00
restart Compatible with pydantic 2.0 using the pydantic compatibility layer provided by nonebot 2025-01-10 12:19:11 +08:00
scheduler Compatible with pydantic 2.0 using the pydantic compatibility layer provided by nonebot 2025-01-10 12:19:11 +08:00
scheduler_admin ♻️ refactor(scheduler): 重构定时任务服务架构并增强用户体验 (#1967) 2025-07-10 22:20:08 +08:00
shop 使用道具允许at目标用户 (#1877) 2025-06-16 09:18:58 +08:00
sign_in 首次启动时提供使用web ui方式完全配置 (#1870) 2025-06-16 09:11:41 +08:00
statistics feat(limit, message): 引入声明式限流系统并增强消息格式化功能 (#1978) 2025-07-15 17:13:33 +08:00
superuser 引入缓存机制 (#1889) 2025-07-14 22:35:29 +08:00
web_ui 引入缓存机制 (#1889) 2025-07-14 22:35:29 +08:00
__init__.py 格式化db_context (#1980) 2025-07-15 17:08:42 +08:00
about.py 🐛 修复群被动开关 2025-04-17 16:58:45 +08:00
catchphrase.py Develop: 完全使用 ruff 替代 isort 与 black (#1757) 2024-12-10 19:49:11 +08:00
help_help.py 引用消息同意好友/群组请求 (#1902) 2025-06-09 14:39:28 +08:00
nickname.py refactor(nickname): 使用 nonebot_plugin_alconna 重构昵称设置功能 (#1946) 2025-07-01 10:29:27 +08:00
record_request.py 引用消息同意好友/群组请求 (#1902) 2025-06-09 14:39:28 +08:00
withdraw.py 新增好感度/金币设置和详细帮助 (#1831) 2025-01-10 18:39:23 +08:00