mirror of
https://github.com/TeamPGM/PagerMaid_Plugins.git
synced 2024-11-22 06:32:47 +00:00
optimize
This commit is contained in:
parent
3adccc1b6c
commit
0efd536480
5
pl.py
5
pl.py
@ -43,7 +43,10 @@ async def pl(context):
|
|||||||
txt = a.text.replace("嘌呤含量", "➟ ")
|
txt = a.text.replace("嘌呤含量", "➟ ")
|
||||||
result = f"{result}{txt}\n"
|
result = f"{result}{txt}\n"
|
||||||
status = True
|
status = True
|
||||||
await context.edit(result)
|
if result == "":
|
||||||
|
await context.edit("没有查到结果")
|
||||||
|
else:
|
||||||
|
await context.edit(result)
|
||||||
break
|
break
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
Loading…
Reference in New Issue
Block a user