update pix

This commit is contained in:
HibiKier 2022-06-26 01:37:47 +08:00
parent bc089c18ce
commit 667c143c74
2 changed files with 2 additions and 0 deletions

View File

@ -246,6 +246,7 @@ __Docker 最新版本由 [Sakuracio](https://github.com/Sakuracio) 提供__
### 2022/6/26 ### 2022/6/26
* 替换了bt URL * 替换了bt URL
* PIX当使用pid查询图片时会发送该pid下所有图片
### 2022/6/24 ### 2022/6/24

View File

@ -132,6 +132,7 @@ async def _(bot: Bot, event: MessageEvent, arg: Message = CommandArg()):
all_image = await OmegaPixivIllusts.query_images( all_image = await OmegaPixivIllusts.query_images(
pid=int(pid), nsfw_tag=nsfw_tag pid=int(pid), nsfw_tag=nsfw_tag
) )
num = len(all_image)
else: else:
tmp = await Pixiv.query_images( tmp = await Pixiv.query_images(
x, r18=1 if nsfw_tag == 2 else 0, num=pix_num x, r18=1 if nsfw_tag == 2 else 0, num=pix_num