update 谁先死
This commit is contained in:
parent
8cd2f32624
commit
6e00c8a332
1 changed files with 4 additions and 0 deletions
4
route.py
4
route.py
|
@ -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(
|
||||||
|
|
Loading…
Reference in a new issue