Commit d1ec54c
Changed files (1)
src
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):