From 667c143c740078c18b00fa47770306e12a7927b5 Mon Sep 17 00:00:00 2001 From: HibiKier <775757368@qq.com> Date: Sun, 26 Jun 2022 01:37:47 +0800 Subject: [PATCH] update pix --- README.md | 1 + plugins/pix_gallery/pix.py | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index d8a694ee..729392c0 100644 --- a/README.md +++ b/README.md @@ -246,6 +246,7 @@ __Docker 最新版本由 [Sakuracio](https://github.com/Sakuracio) 提供__ ### 2022/6/26 * 替换了bt URL +* PIX当使用pid查询图片时,会发送该pid下所有图片 ### 2022/6/24 diff --git a/plugins/pix_gallery/pix.py b/plugins/pix_gallery/pix.py index 799d6366..2d2532b9 100755 --- a/plugins/pix_gallery/pix.py +++ b/plugins/pix_gallery/pix.py @@ -132,6 +132,7 @@ async def _(bot: Bot, event: MessageEvent, arg: Message = CommandArg()): all_image = await OmegaPixivIllusts.query_images( pid=int(pid), nsfw_tag=nsfw_tag ) + num = len(all_image) else: tmp = await Pixiv.query_images( x, r18=1 if nsfw_tag == 2 else 0, num=pix_num