MiraiForum

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

    有没有进群验证插件

    摸鱼区
    8
    15
    595
    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.
    • RainChan
      RainChan 摸鱼 last edited by

      有没有人做过这类插件,最近我可能需要用到….
      没有的话只好自己写一个了….

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

        大概是怎么样的功能呢,需要的话我往我的 debug-helper 插件里面加

        RainChan 1 Reply Last reply Reply Quote 0
        • RainChan
          RainChan 摸鱼 @cssxsh last edited by

          @cssxsh 我初步的想法是这样的

          首先要支持以下验证方式

          1. 进群后用户输入验证码验证
          2. 进群后用户解答问题(使用脚本自动评判)
          3. 使用脚本自动同意进群请求(判断答案什么的)

          关于验证码的实现无需自己绘制验证码图片,只需要抓个有验证码的登录注册API出来就行(返回不是验证码错误就是验证成功)

          脚本同样也不需要集成什么脚本引擎进去,只需要用在线代码运行跑一遍就行了(从stdin输入参数)

          我就是白嫖王

          Orisland 1 Reply Last reply Reply Quote 0
          • Nekoer
            Nekoer 摸鱼 last edited by

            这论坛好像就这么几个人在聊天

            RainChan 未来のミライ 2 Replies Last reply Reply Quote 0
            • RainChan
              RainChan 摸鱼 @Nekoer last edited by

              @nekoer 其实还是有不少人的,只是大部分人只看不发。后台数据是已经有1700人注册了

              1 Reply Last reply Reply Quote 1
              • yoonching
                yoonching last edited by

                你的需求3 ,我在我的项目里设计了2种模式。组成实名加群功能。
                1、根据预设数据判定,提取用户的加群答案,到数据库里找,同时到加群记录表比对,如果这个答案没人用过,可以进。有人用过,那必定是他自己退了重进群可以。
                2、根据api判定,远程有个接口,判定答案对不对。随后还是比对加群记录表。

                只不过我不会开发插件,直接把mirai当作jar包引入项目里这种传统方式开发的。

                1 Reply Last reply Reply Quote 0
                • Orisland
                  Orisland 摸鱼 @RainChan last edited by

                  难道mirai扣扣群重开有望?

                  1 Reply Last reply Reply Quote 0
                  • MrXiaoM
                    MrXiaoM 童心未泯 last edited by MrXiaoM

                    https://mirai.mamoe.net/topic/123
                    我曾写过一个很草的手动验证
                    答案是文件名,题目就是图片,在题库目录随机抽一个文件 ✓

                    1 Reply Last reply Reply Quote 0
                    • RainChan
                      RainChan 摸鱼 last edited by

                      已经写好了第一个版本,工作得很好
                      1a7ea68c-3280-4fdf-8e65-324fce5c2a8e-image.png

                      1 Reply Last reply Reply Quote 0
                      • 未来のミライ
                        未来のミライ ⭐2021⭐ @Nekoer last edited by

                        @nekoer 我这种不会编程,除了白嫖就是水贴。

                        Nekoer 1 Reply Last reply Reply Quote 0
                        • Nekoer
                          Nekoer 摸鱼 @未来のミライ last edited by

                          @未来のミライ :D

                          1 Reply Last reply Reply Quote 0
                          • RainChan
                            RainChan 摸鱼 last edited by

                            发现一个问题,mirai踢人会自动拉黑;这是一个bug,相应的修复已经提交了

                            Teeth 1 Reply Last reply Reply Quote 0
                            • Teeth
                              Teeth @RainChan last edited by

                              @rainchan 踢人的时候请求会有“是否加入黑名单”选项。这个应该在mirai api中进行修改。

                              RainChan 1 Reply Last reply Reply Quote 0
                              • RainChan
                                RainChan 摸鱼 @Teeth last edited by

                                @teeth 这是bug

                                Teeth 1 Reply Last reply Reply Quote 0
                                • Teeth
                                  Teeth @RainChan last edited by Teeth

                                  @rainchan 这不是bug,这是feature

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