MiraiForum

    • Register
    • Login
    • Search
    • Popular
    • Recent
    • Unsolved
    • Tags
    • Groups
    • 友情链接

    Unsolved 群消息发送错误(只能发送2个字符)

    BUG反馈
    2
    4
    184
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • 冰梦来啦
      冰梦来啦 last edited by

      为什么群消息只能发送2个字符(测试之后发现的),然而好友消息是正常的附上图片为证
      朋友消息:
      9DL}_3[QSV(Z_HF$MO}7A]0.png
      TOBVU%~IM6S7ZFAR}T5W7S5.png
      群消息:
      2个字符时:
      ![6BJKTZ%ZKDZ7G$T]B2]L2NF.png](/assets/uploads/files/1630075243259-6bjktz-zkdz7g-t-b2-l2nf.png)
      EZS74(1~QB)@@A1(EHY_QMP.png
      3个字符时:
      7@`GCUB}SUMHRR@9ELBJNBN.png
      469f3d95-21dd-44c9-a722-17b5bafee184-image.png
      直接失去反应,然而返回的却还是发送成功,而消息ID就。。。离谱,这就直接导致了中文就算一个字都不能用,问下大佬这个问题出在哪里有解决方案嘛?

      1 Reply Last reply Reply Quote 2
      • 冰梦来啦
        冰梦来啦 last edited by

        用的2.7.0的核心和命令行
        还有2.2.0的mirai-api
        python3.9.4使用的是ws接口

        1 Reply Last reply Reply Quote 0
        • H
          H-e-l-l-oW-o-r-l-d 摸鱼 last edited by

          一样的问题
          POST http://$APIURL/sendGroupMessage
          requestBody={"sessionKey":"xxxxx","group":00000000,"messageChain":[{"type":"Plain","text":"111"}]}
          response={"code":0,"msg":"success","messageId":-1}
          版本:
          I/MCL Addon: Package: net.mamoe:mirai-core-all Channel: beta Type: libs Version: 2.8.0-M1
          I/MCL Addon: Package: net.mamoe:mirai-api-http Channel: stable Type: plugins Version: v2.1.0.mirai

          1 Reply Last reply Reply Quote 0
          • H
            H-e-l-l-oW-o-r-l-d 摸鱼 last edited by

            应该是腾讯风控问题?
            刚刚我用手机QQ登录一遍,发送一条消息再退出来就好了。

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            Powered by Mamoe Technologies & NodeBB | 友情链接 | 服务监控 | Contact us