mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2025-12-15 06:12:53 +08:00
commit
ff435bea95
@ -50,7 +50,7 @@ headers = {
|
|||||||
|
|
||||||
@pid_search.got("pid", prompt="需要查询的图片PID是?")
|
@pid_search.got("pid", prompt="需要查询的图片PID是?")
|
||||||
async def _g(event: MessageEvent, state: T_State, pid: str = Arg("pid")):
|
async def _g(event: MessageEvent, state: T_State, pid: str = Arg("pid")):
|
||||||
url = Config.get_config("hibiapi", "HIBIAPI") + "/api/pixiv/"
|
url = Config.get_config("hibiapi", "HIBIAPI") + "/api/pixiv/illust"
|
||||||
if pid in ["取消", "算了"]:
|
if pid in ["取消", "算了"]:
|
||||||
await pid_search.finish("已取消操作...")
|
await pid_search.finish("已取消操作...")
|
||||||
if not is_number(pid):
|
if not is_number(pid):
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user