pcrbot / 5000choyen Goto Github PK
View Code? Open in Web Editor NEW适用hoshino的5000兆円欲しい! style图片生成器插件
License: GNU Affero General Public License v3.0
适用hoshino的5000兆円欲しい! style图片生成器插件
License: GNU Affero General Public License v3.0
报错信息
Traceback (most recent call last):
File "/root/pcrbot/HoshinoBot/hoshino/msghandler.py", line 28, in handle_message
await service_func.func(bot, event)
File "/root/pcrbot/HoshinoBot/hoshino/modules/5000choyen/init.py", line 28, in gen_5000_pic
img=genImage(word_a = upper, word_b = downer)
File "/root/pcrbot/HoshinoBot/hoshino/modules/5000choyen/generator.py", line 138, in genImage
getTextWidth(word_a, font_upper, width=default_width,
File "/root/pcrbot/HoshinoBot/hoshino/modules/5000choyen/generator.py", line 28, in getTextWidth
if box[2] < width - step or (recursive and box[2] == width - step):
TypeError: 'NoneType' object is not subscriptable
不管怎么问都是 '生成失败……请检查命令格式是否正确'
我也不懂python 所以只能提issues求助了 如果打扰了很抱歉
hoshino后台运行
[2021-05-24 00:28:12,799 nonebot] INFO: Self: 471425760, Message 307281768 from 2775116592@[群:792730444]: '5000兆元 (上半句)|(下半句)' [2021-05-24 00:28:12,800 5000choyen] INFO: Message 307281768 triggered gen_5000_ pic by PrefixTrigger. [2021-05-24 00:28:12,909 nonebot] INFO: Message 307281768 is ignored
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.