Merge pull request #26 from TNTcraftHIM/master

简化meizi插件的命令(现为mz与sp)
This commit is contained in:
Pentacene 2020-08-25 23:19:25 +08:00 committed by GitHub
commit d09adfb5a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -222,13 +222,13 @@
}, },
{ {
"name": "meizi", "name": "meizi",
"version": "1.4", "version": "1.5",
"section": "profile", "section": "profile",
"maintainer": "TNTcraftHIM", "maintainer": "TNTcraftHIM",
"size": "3.7 kb", "size": "3.7 kb",
"supported": true, "supported": true,
"des-short": "多网站随机获取写真", "des-short": "多网站随机获取写真",
"des": "从不同的网站中调取妹子写真/视频但是无漏点放心使用安全版ghs。命令meizimeizisp。" "des": "从不同的网站中调取妹子写真/视频但是无漏点放心使用安全版ghs。命令mzsp。"
}, },
{ {
"name": "acg-multi", "name": "acg-multi",

View File

@ -5,9 +5,9 @@ from pagermaid.listener import listener
from os import remove from os import remove
@listener(is_plugin=True, outgoing=True, command="meizi", @listener(is_plugin=True, outgoing=True, command="mz",
description="多网站随机获取性感(可能)的写真") description="多网站随机获取性感(可能)的写真")
async def meizi(context): async def mz(context):
await context.edit("获取中 . . .") await context.edit("获取中 . . .")
status = False status = False
for _ in range (20): #最多重试20次 for _ in range (20): #最多重试20次
@ -62,9 +62,9 @@ async def meizi(context):
sleep(2) sleep(2)
await context.delete() await context.delete()
@listener(is_plugin=True, outgoing=True, command="meizisp", @listener(is_plugin=True, outgoing=True, command="sp",
description="随机获取妹子的视频") description="随机获取妹子的视频")
async def meizisp(context): async def sp(context):
await context.edit("获取中 . . .") await context.edit("获取中 . . .")
status = False status = False
for _ in range (20): #最多重试20次 for _ in range (20): #最多重试20次