Revert "Update meizi.py"

This reverts commit 5a53dee82b.
This commit is contained in:
TNTcraftHIM 2020-08-25 01:00:54 +08:00
parent 5a53dee82b
commit 1cd8e056f4

View File

@ -43,7 +43,7 @@ async def meizi(context):
elif website == 12: elif website == 12:
img = get("https://api.diskgirl.com/image/api.php?t=&v=0.9451485087333713") img = get("https://api.diskgirl.com/image/api.php?t=&v=0.9451485087333713")
elif website == 13: elif website == 13:
img = get("https://api.diskgirl.com/image/api.php") img = get("https://api.diskgirl.com/image/api.php?t=&v=" + str(random.uniform(0, 100)))
if img.status_code == 200: if img.status_code == 200:
with open(r'tu.png', 'wb') as f: with open(r'tu.png', 'wb') as f:
await context.edit("正在上传图片") await context.edit("正在上传图片")