Giter VIP home page Giter VIP logo

Comments (3)

stdrc avatar stdrc commented on July 21, 2024

aiocqhttp.exceptions.ActionFailed 表示调用到了接口,但动作失败了,可以打印 e.retcode 查看错误码,(如果是小于 0 的)也可以在酷 Q 日志里看到错误信息

你这个多半是因为你想发送的目标最近没有在群里说过话,或者没 at 你

from nonebot.

sailist avatar sailist commented on July 21, 2024

aiocqhttp.exceptions.ActionFailed 表示调用到了接口,但动作失败了,可以打印 e.retcode 查看错误码,(如果是小于 0 的)也可以在酷 Q 日志里看到错误信息

你这个多半是因为你想发送的目标最近没有在群里说过话,或者没 at 你

啊蟹蟹蟹蟹,我又回头看了下我写的qq获取的,发现把昵称和qq号写反了...改了后就好了Orz
然后send_private_msg相关方法所在的文档,是在cqhttp里,希望作者大大有空的话可以在教程文档里说一下这种需求的解决办法0.0

from nonebot.

stdrc avatar stdrc commented on July 21, 2024

OK,文档加上了 https://none.rclab.tk/guide/calling-cqhttp-api.html

from nonebot.

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.