Commit 5bc063b

benny-dou <60535774+benny-dou@users.noreply.github.com>
2025-07-08 11:15:50
feat(danmu): support time-only query
1 parent 9af933f
Changed files (1)
src
src/danmu/entrypoint.py
@@ -169,8 +169,6 @@ def parse_queries(texts: str, qtype: str) -> tuple[str, str, str, str]:
 
     if qtype == "发言":
         user = ""
-        if not keyword:
-            return "", "", "", "查询发言时必须指定关键词"
 
     if not any((match_time, user, keyword)):
         return "", "", "", f"查询格式有误, 请发送{PREFIX.DANMU}或{PREFIX.FAYAN}命令查看帮助"