MiraiForum

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

    简单的反撤回/闪照破解

    插件发布
    15
    34
    8388
    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.
    • M
      MX233 ⭐2021⭐ last edited by MX233

      AntiRecall 反撤回插件

      这是一个基于mirai 机器人框架的插件

      不想折腾模块? 在mirai上安装本插件进行简单配置即可实现

      项目地址 Github

      image

      一定要先看完README

      本插件功能

      • 获取被撤回的消息
      • 闪照破解

      前置插件

      • chat-command

      指令

      前缀一般是 /

      指令 作用 示例
      ar en <true/false> 设置开启或关闭 ar en true
      ar ca <time> 设置消息缓存时间 ar ca 30
      ar fm <text> 设置转发消息的消息链 ar fm ${sender}发送了一条${type}消息:\n${message}
      ar reload 重载配置 -

      首次使用

      请使用Mirai Console Backend - Permissions
      设置权限

      添加一个被监听者

      当被监听者发送消息后会被缓存或转发

      perm add m<群号>.* top.cutestar.antirecall:monitored
      //一个示例:perm add m123456789.* top.cutestar.antirecall:monitored
      

      监听所有群

      perm add m* top.cutestar.antirecall:monitored
      

      添加一个消息接收者

      当出现选中类型的消息时,此消息会被转发给消息接收者

      perm add <被许可人ID> top.cutestar.antirecall:receiver
      //一个转发到好友的示例:perm add f123456789 top.cutestar.antirecall:receiver
      //一个转发到群的示例:perm add g123456789 top.cutestar.antirecall:receiver
      

      添加命令使用权限

      perm add u<qq号> top.cutestar.antirecall:command.ar
      

      设置权限后请使用ar reload重载

      配置

      请见配置文件注释

      C 1 Reply Last reply Reply Quote 1
      • M
        MAO-Seven last edited by

        请问可以配置撤回消息单独只发送给接收人 不在群里发送吗

        M 1 Reply Last reply Reply Quote 0
        • M
          MX233 ⭐2021⭐ @MAO-Seven last edited by MX233

          @MAO-Seven 可以的

          perm add f好友的qq号 top.cutestar.antirecall:receiver
          
          1 Reply Last reply Reply Quote 0
          • S
            shenmo last edited by

            时间的单位是?

            M 1 Reply Last reply Reply Quote 0
            • S
              shenmo last edited by

              可以直接发到群里吗?不想指定某个QQ接受

              M 1 Reply Last reply Reply Quote 0
              • M
                MX233 ⭐2021⭐ @shenmo last edited by

                @shenmo 配置文件内写了,分钟

                1 Reply Last reply Reply Quote 0
                • M
                  MX233 ⭐2021⭐ @shenmo last edited by

                  @shenmo

                  perm add g这里写群号 top.cutestar.antirecall:receiver
                  
                  S 1 Reply Last reply Reply Quote 0
                  • S
                    shenmo @MX233 last edited by

                    @MX233 期望行为是各个群都发回各个群
                    实际行为是如果添加多了就会群发(

                    M 1 Reply Last reply Reply Quote 0
                    • M
                      MX233 ⭐2021⭐ @shenmo last edited by MX233

                      @shenmo 建议是设置发回给你,发回去群里会带来一些问题

                      • 比如群友恶意发送敏感词撤回然后机器人发回去,举报机器人导致封号

                      • 有人发送广告无法被撤回

                      如果你有这方面需求,我建议你打开一个fork

                      1 Reply Last reply Reply Quote 0
                      • 死亡程序员
                        死亡程序员 last edited by

                        想问一下撤销perm的命令是什么,谢谢

                        M 1 Reply Last reply Reply Quote 0
                        • M
                          MX233 ⭐2021⭐ @死亡程序员 last edited by

                          @死亡程序员

                          perm remove 被许可人id 权限id
                          

                          建议在控制台输入help查看详细帮助

                          死亡程序员 1 Reply Last reply Reply Quote 0
                          • 死亡程序员
                            死亡程序员 @MX233 last edited by

                            @MX233 好哒谢谢

                            1 Reply Last reply Reply Quote 0
                            • 死亡程序员
                              死亡程序员 last edited by

                              主子撤回的消息是不是不包括图片呐~

                              1 Reply Last reply Reply Quote 0
                              • I
                                iamliuyan last edited by

                                Screenshot 2022-07-08 210308.png
                                请问哪个命令可以去除父权限

                                S D 2 Replies Last reply Reply Quote 0
                                • 2
                                  2863758120 last edited by

                                  图片是不支持反撤回么?

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    saratoga-no-one @iamliuyan last edited by

                                    @iamliuyan 我也有这个问题,设置监听群和接收者之后就无法撤销他们的权限了,比如perm remove g群号 top.cutestar.antirecall:receiver 这种就会遇到你发的这个问题,请问有什么解决方案么

                                    I 1 Reply Last reply Reply Quote 0
                                    • I
                                      iamliuyan @saratoga-no-one last edited by

                                      @saratoga-no-one 无解

                                      S 1 Reply Last reply Reply Quote 0
                                      • S
                                        saratoga-no-one @iamliuyan last edited by

                                        @iamliuyan 去掉插件重启一次,再安装插件,可以重新设置监听群和接收者么

                                        I 1 Reply Last reply Reply Quote 0
                                        • I
                                          iamliuyan @saratoga-no-one last edited by

                                          @saratoga-no-one 可以,你试试,我重新安装后有时候不管用

                                          1 Reply Last reply Reply Quote 0
                                          • D
                                            damemod last edited by

                                            你好,\n依旧已文本的形式存在

                                            20220824104905.png

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