From e194b4f64495ad988a9ddf3405a2626a1d88b79e Mon Sep 17 00:00:00 2001 From: SiHuan Date: Wed, 27 Jan 2021 14:42:24 +0800 Subject: [PATCH] update router --- route.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/route.py b/route.py index 06c8257..2f32226 100644 --- a/route.py +++ b/route.py @@ -6,7 +6,7 @@ def ZZRouter(data): gid = data['group_id'] role = data['sender']['role'] mid = data['message_id'] - parms = str.split(data['message'][0]['data']['text'][1:]) + parms = str.split(data['raw_message'][1:]) print(uid, gid, role, parms) if parms == []: parms[0] = 'help'