headimg_generator icon indicating copy to clipboard operation
headimg_generator copied to clipboard

基于HoshinoBot的制作头像相关的表情包插件,移植自nonebot-plugin-petpet

Results 9 headimg_generator issues
Sort by recently updated
recently updated
newest added

看到大伙都对该报错不知道怎么解决, 对于此报错解决方法: 在 manager.py 中,第139行的 raw_list = yaml.safe_load(f) 改成 raw_list = yaml.unsafe_load(f) 即可

24-02-14 15:45:44,723 nonebot] ERROR: Failed to import and load "hoshino.modules.headimg_generator.utils", error: issubclass() arg 1 must be a class [2024-02-14 15:45:44,723 nonebot] ERROR: issubclass() arg 1 must be a class Traceback...

我的Hoshinobot是用Docker方式部署的,不太适合文档中中文字体的配置方式。现在中文都是方块,请问有没有其他的配置方式? 我看其他用到字体的插件,一般是将其使用的字体文件放在Hoshinobot的资源目录中或者所属的插件目录中。但是 `headimg_generator` 依赖的 `meme-generator` 好像不太好操作。 ![598B0A9441C3B82A0F6885DE5EC8B165](https://github.com/Lanly109/headimg_generator/assets/958456/13560197-8d70-4224-af67-b3968d2d9d37) ![16FBB1FFEEF77D3DBD03AC506AAC8CDF](https://github.com/Lanly109/headimg_generator/assets/958456/660d8791-d747-4c3f-b2ec-a4cfcac1608c)

![image](https://github.com/Lanly109/headimg_generator/assets/65718636/b5c16124-d2c3-43f8-aedd-6ac1198989eb)

[原插件](https://github.com/noneplugin/nonebot-plugin-petpet)新加了几个表情包,但同时对源代码进行了重构,表示还没看懂`nonebot2`的`depend`用法,等哪天有空了研究研究

enhancement

比如那边更新了流萤举牌和out,这边我看好像只有out

meme_generator.exception中的ArgParserExit已经改为ArgParserMismatch meme_generator.utils中的TextProperties已经改为MemeProperties 等等