Coder Social home page Coder Social logo

littleskincommspt / commspt-bot Goto Github PK

View Code? Open in Web Editor NEW
24.0 3.0 7.0 4.11 MB

[deprecated] LittleSkin Community Support QQ bot

Home Page: https://bot-manual.commspt.littlesk.in

License: GNU Affero General Public License v3.0

Python 99.20% Dockerfile 0.80%
mirai graia-framework qqbot littleskin graia-ariadne

commspt-bot's People

Contributors

big-cake-jpg avatar bingling-sama avatar cjh0613 avatar cubik65536 avatar cursor-s avatar flyemoj1 avatar gxres042 avatar nofated095 avatar serinanya avatar xfl03 avatar xiexilin2 avatar

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

Watchers

 avatar  avatar  avatar

commspt-bot's Issues

[Feature] 添加 LittleSkin 传统加载皮肤的 sha256 计算

如题,由于 LittleSkin 最近几日频繁出现 CDN 刷新不及时的问题,故提出这个。

简单来说就是传统加载因为没人用,CDN 几乎不存在缓存,所以可以利用对比传统加载加载的皮肤和 CSL 或 Ygg 加载的皮肤的 hash 数据从而判断是否出现了 CDN 缓存延迟。

应该是只要套用 get_texture.py 即可,但是要让机器人来计算文件的 SHA-256 数据。

&view 报错 ValidationError

2020-08-29 15:04:00,457][DEBUG]: Starting new HTTPS connection (1): mcskin.littleservice.cn:443
[2020-08-29 15:04:00,833][DEBUG]: https://mcskin.littleservice.cn:443 "GET /preview/hash/86c2deb7f7f06d8f01125900632589627caf413ff954cdd87efcfd4a1401777b?png HTTP/1.1" 200 47358
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/graia/broadcast/__init__.py", line 162, in Executor
    result = await run_always_await(
  File "/usr/local/lib/python3.8/site-packages/graia/broadcast/utilles.py", line 10, in run_always_await
    return await any_callable
  File "main.py", line 193, in command_view
    await app.sendGroupMessage(group, MessageChain.create(_image_message))
  File "/usr/local/lib/python3.8/site-packages/graia/application/message/chain.py", line 89, in create
    return cls(__root__=elements)
  File "/usr/local/lib/python3.8/site-packages/pydantic/main.py", line 346, in __init__
    raise validation_error
pydantic.error_wrappers.ValidationError: 2 validation errors for MessageChain
__root__
  value is not a valid list (type=type_error.list)
__root__
  value is not a valid tuple (type=type_error.tuple)

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.