Skip to main content

A resource assistant for Adachi-BOT

Project description

adachi-resource-assistant

弃用警告( Deprecation Warning )

从原神 3.1 版本开始此模块已经弃用,功能已经整合到 Adachi-BOT ,使用说明详见《资源文件制作指引》

This module has been deprecated since Genshin Impact 3.1 version, and the function has been integrated into Adachi-BOT. For details, please refer to 《资源文件制作指引》.

说明

A resource assistant for Adachi-BOT.

安装

pip3 install -U adachi_resource_assistant

使用

生成角色卡池图片

根据角色信息或者配置文件生成角色卡池图片。

adachi_resource_get_gacha_image 刻晴 keqing_042
adachi_resource_get_gacha_image

第二个参数来源于 Honey Impact 的角色页面链接,如 https://genshin.honeyhunterworld.com/keqing_042/?lang=CHS 中的 keqing_042 。不给出参数则获取所有可用的角色。

填充素材图片

根据素材图片自身信息进行填充。

adachi_resource_fill_image /path/to/image.png
adachi_resource_fill_image /path/*.png
adachi_resource_fill_image

参数列表为文件列表,不给出参数时,则递归扫描当前目录中的所有 .png 文件。

许可

MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

adachi_resource_assistant-3.0.2.tar.gz (6.6 kB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page