update 谁先死

This commit is contained in:
SiHuan 2020-08-03 23:20:13 +08:00
parent 8cd2f32624
commit 6e00c8a332

View file

@ -2,10 +2,14 @@ from worker import emmm
from zzcore import DM from zzcore import DM
from config import DAAPI from config import DAAPI
import requests
def ZZRouter(data): def ZZRouter(data):
if data['post_type'] != 'message' or data['message_type'] != 'group' or data['message'][0] != '/': if data['post_type'] != 'message' or data['message_type'] != 'group' or data['message'][0] != '/':
if data['user_id'] == 1318000868 :
return
if len(data['raw_message']) == 54 and data['raw_message'][:15] == '[CQ:image,file=': # use re if len(data['raw_message']) == 54 and data['raw_message'][:15] == '[CQ:image,file=': # use re
url = data['message'][58:][:-1] url = data['message'][58:][:-1]
r = requests.post( r = requests.post(