From fd29e8808f61657ab7511538532298e57277a6bb Mon Sep 17 00:00:00 2001 From: SiHuan Date: Mon, 3 Aug 2020 22:20:12 +0800 Subject: [PATCH] add filter --- route.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/route.py b/route.py index 8198a59..f1f1d2a 100644 --- a/route.py +++ b/route.py @@ -4,7 +4,7 @@ from zzcore import DM def ZZRouter(data): - if '[CQ:image,file=a854b2390d427b02fc26cae49d508a75.image]' in data['raw_message'] and data['user_id'] != 1318000868: + if ('[CQ:image,file=a854b2390d427b02fc26cae49d508a75.image]' in data['raw_message'] or '[CQ:image,file=6a507d12d1542cbed37af4776a1cd066.image]' in data['raw_message']) and data['user_id'] != 1318000868: DM(data['message_id'])