MiraiForum

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

    Solved 是否有办法要求命令触发的条件为引用回复?

    开发交流
    command java reply message
    2
    2
    135
    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.
    • Orisland
      Orisland 摸鱼 last edited by Orisland

      例如我希望如下的信息会触发命令,
      67588a6d-91d5-4ae3-9214-6a9423893c79-image.png
      而这种就不会,
      1e5cf60e-b184-4887-84bf-d41d037715d9-image.png

      但是我的想法似乎并没有实现
      ebeb9f92-0269-40f2-a01d-de10d85af36d-image.png

          @Handler
          public void quoteBack(CommandSenderOnMessage sender, QuoteReply reply){
               sender.sendMessage("back");
          }
      

      未触发命令↓
      977a3672-94d3-43c1-8452-9346a961fa45-image.png
      请问诸位有什么解决办法吗?

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

        手动过滤

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

          手动过滤

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