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