Skip to main content

Generate picture(or GIF) by characters

Project description

生成字符画(包括GIF)

版本

v0.1.0

⚠ 适配nonebot2-2.0.1;

安装

  1. 通过pipnb安装;

命令

nb plugin install nonebot_plugin_charpic

pip install nonebot_plugin_charpic

功能

合成字符画(或 gif )

命令

字符画 + 图片

⚠ 需要 nonebot2 配置的命令前缀,如果没配置默认 /

问题

缺资源

(纯萌新,第一次发包,不太熟,没有字体的话可以尝试以下解决方案)

  1. 找到这个包(一般在site-packages目录下),将data_source.py中的Path(__file__).parent / "font" / "consola.ttf"改为你自己想要的字体的路径;
  2. __init__.py同级目录创建文件夹,名为 font, 再下载本仓库中的字体放进去。
  3. 直接clone本仓库,安装好依赖,放在bot能导入到的文件夹下面 (dddd)

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

nonebot_plugin_charpic-0.1.0.tar.gz (207.9 kB view hashes)

Uploaded Source

Built Distribution

nonebot_plugin_charpic-0.1.0-py3-none-any.whl (207.4 kB view hashes)

Uploaded Python 3

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