feat(commands): add /test debug command that reports link parse results only

This commit is contained in:
2026-08-15 15:48:57 +08:00
parent e6ba178983
commit d0810217b4
4 changed files with 205 additions and 4 deletions
+1
View File
@@ -113,6 +113,7 @@ Telegram 只接受 443/80/88/8443 端口。
| `/set_format <站点> <格式>` | 自定义某站点的 caption 格式。站点:`twitter` / `bsky` / `pixiv`。占位符:`{url}` `{author}` `{author_url}` `{title}` `{tags}` |
| `/clear_cache [链接]` | 清空链接缓存(仅管理员);带链接只清该条,否则清空全部 |
| `/bot_dict` | 查看当前聊天状态(调试用) |
| `/test <链接>` | 调试:只解析链接并返回解析结果(站点、标题、作者、标签、媒体列表),不发送任何媒体 |
链接处理仅限私聊;命令在任意聊天可用。