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