MiraiForum

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

    Java版 能正常接收消息 无法发送消息

    开发交流
    2
    2
    475
    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.
    • C
      CHACCA165 last edited by

      mirai-core-jvm 2.15.0-M1 | mirai-console 2.15.0-M1 | mirai-console-dev-qrlogin-0.1.7.mirai2 | mirai-login-solver-sakura-0.0.10.mirai2 | fix-protocol-version-1.5.1.mirai2

      bot.getEventChannel().subscribeAlways(GroupMessageEvent.class, event -> {
      System.out.println(event.getMessage().contentToString());
      event.getGroup().sendMessage(event.getMessage().contentToString());
      })

      2023-06-02 13:41:13 V/Bot xxx: [xxx(xxx)]  (xxx) -> 1
      1
      2023-06-02 13:41:13 V/Net xxx: Send: MessageSvc.PbSendMsg(MessageSvc.PbSendMsg)
      2023-06-02 13:41:13 V/Net xxx: Recv: MessageSvc.PbSendMsg
      2023-06-02 13:41:16 V/Bot xxx: Group(xxx) <- 1

      接收消息正常的救救孩子吧,搞了1小时了

      1 Reply Last reply Reply Quote 0
      • cssxsh
        cssxsh last edited by

        https://github.com/mamoe/mirai/issues/2671

        风控,没救

        yuanshangyujingshierlou created this issue in mamoe/mirai

        closed 控制台没报错,code返回也是发送消息成功,控制台显示消息发送了,但是群里看不到消息 #2671

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