Giter Club home page Giter Club logo

Comments (4)

Tsuk1ko avatar Tsuk1ko commented on May 28, 2024

基本支持 LLOneBot 的,已经有人试过 #455

可以设置 bot.debug 后看 cqps 日志是否有正常收到消息

from cq-picsearcher-bot.

chaosChildrens avatar chaosChildrens commented on May 28, 2024

基本支持 LLOneBot 的,已经有人试过 #455

可以设置 bot.debug 后看 cqps 日志是否有正常收到消息

谢谢,解决了,是消息的上报格式对接问题。
有新的问题,部分搜图会提示“该图片已过期,请尝试二次截图后发送”,部分搜图是可用的。
重新截图,或者新图也会有这个提示,请问可能是什么原因导致的?

from cq-picsearcher-bot.

Tsuk1ko avatar Tsuk1ko commented on May 28, 2024

谢谢,解决了,是消息的上报格式对接问题。

🤔按理说是兼容数组上报的,因为在收到数组上报时我会尽可能使用 raw_message 并使用人为的转换进行兜底,上面 issue 中的用户看日志也是用的数组上报

部分搜图会提示“该图片已过期,请尝试二次截图后发送”

这个跟机器人客户端和发送方客户端有关系,部分机器人客户端有 bug 无法正确拼接部分客户端发送的图片 URL,可以看看客户端日志看看 URL

类似 #459 Mrs4s/MiraiGo#341

from cq-picsearcher-bot.

chaosChildrens avatar chaosChildrens commented on May 28, 2024

基本支持 LLOneBot 的,已经有人试过 #455
可以设置 bot.debug 后看 cqps 日志是否有正常收到消息

谢谢,解决了,是消息的上报格式对接问题。 有新的问题,部分搜图会提示“该图片已过期,请尝试二次截图后发送”,部分搜图是可用的。 重新截图,或者新图也会有这个提示,请问可能是什么原因导致的?

我之前机器人只有上线信息,我把LLONEBOT信息上报格式从默认“消息段”改成了“CQ码”,无法搜图但是发图。

谢谢,解决了,是消息的上报格式对接问题。

🤔按理说是兼容数组上报的,因为我会尽可能使用 raw_message,只要机器人客户端遵循 onebot11 就应该会提供,上面 issue 中的用户看日志也是用的数组上报

部分搜图会提示“该图片已过期,请尝试二次截图后发送”

这个跟机器人客户端和发送方客户端有关系,部分机器人客户端有 bug 无法正确拼接部分客户端发送的图片 URL,可以看看客户端日志看看 URL

类似 #459 Mrs4s/MiraiGo#341

然后我现在改回“消息码”。搜图和发图功能都正常了,很怪的BUG。

但总体而言,对接已经完成了。感谢协助。

from cq-picsearcher-bot.

Related Issues (20)

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.