Commit d1ec54c

benny-dou <60535774+benny-dou@users.noreply.github.com>
2025-04-03 10:59:09
fix(social): ignore more commands in `handle_utilities`
1 parent 053bad0
Changed files (1)
src/handler.py
@@ -139,7 +139,8 @@ async def handle_social_media(
     else:
         cmd_prefix.extend(PREFIX.MAIN)
     ignore_prefix = ignore_prefix or ["/dl4dw"]
-    ignore_prefix.extend(["/ai", "/asr", "/audio", "/combine", "/subtitle", "/wget", "/ocr", "/price", "/summary"])  # these commands are handled in `handle_utilities`
+    # these commands are handled in `handle_utilities`
+    ignore_prefix.extend(["/ai", "/asr", "/audio", "/combine", "/doubao", "/ds", "/gemini", "/gpt", "/ocr", "/price", "/qwen", "/subtitle", "/summary", "/voice", "/wget"])
     info = parse_msg(message)
     this_texts = info["text"]  # texts of the trigger message
     if startswith_prefix(this_texts, prefix=ignore_prefix):