update zzrouter
This commit is contained in:
parent
831ca401fd
commit
0e36851940
1 changed files with 2 additions and 2 deletions
2
route.py
2
route.py
|
@ -2,7 +2,7 @@ from worker import emmm
|
||||||
|
|
||||||
|
|
||||||
def ZZRouter(data):
|
def ZZRouter(data):
|
||||||
if data['message'][0] != '/':
|
if data['post_type'] != 'message' or data['message_type'] != 'group' or data['message'][0] != '/':
|
||||||
return
|
return
|
||||||
|
|
||||||
uid = data['user_id']
|
uid = data['user_id']
|
||||||
|
|
Loading…
Reference in a new issue