Giter Club home page Giter Club logo

5000choyen's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

5000choyen's Issues

无法使用

报错信息
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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.