MiraiForum

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

    SimpleGroupAuth---简单的进群验证插件

    插件发布
    mirai-console plugins auth group
    11
    22
    5239
    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 RainChan

      SimpleGroupAuth

      Github: https://github.com/mzdluo123/SimpleGroupAuth

      简单的进群验证插件。一部分恶意机器人加群之后在群内发送各种广告,严重污染群内聊天环境,本插件的目的是将这类机器人和正常用户自动区分开,降低群管工作量。

      该插件仍处于开发状态,请等待后续更新

      /ga-switch 群号 模式序号   ---切换验证模式
      
      0. DISABLED,  不处理
      1. ENTERNED_CAPTCHA,  要求进群后的验证码
      2. ENTERNED_CHALLENGE,  要求进群后回答问题
      3. AUTO_ACCEPT,  自动判断进群答案并接受(未实现)
      4. AUTO_ACCEPT_DENY  自动判断进群答案并接受或拒绝(未实现)
      

      使用效果

      替代文字

      K 1 Reply Last reply Reply Quote 1
      • R
        RayyyWW last edited by

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • RainChan
          RainChan 摸鱼 last edited by

          现在 你可以尝试三次输入验证码
          0e7b19f7-fd44-45c9-a655-006e6079c75c-image.png

          回答问题的验证已实现
          8d40bd58-5661-4b7d-8cf8-1d9bbcf757bb-image.png

          # 答案是
          # 你的QQ号+1
          qq = int(input())
          answer = int(input())
          
          if  answer == qq+1:
              print(1)
          else:
              print(0)
          
          

          通用验证模板如下

          # 本插件支持使用python脚本检查输出是否正确
          # #开头的注释将会作为提示信息发送给验证者
          # 代码运行使用 https://www.dooccn.com/python3/ 支持联网
          # 请将代码文件重命名为 群号.py 并设置验证方式来使用
          # 验证成功请输出1,失败请输出0
          # 这里的默认答案为123
          qq = int(input())
          answer = input()
          
          if  answer == "123":
              print(1)
          else:
              print(0)
          
          
          1 Reply Last reply Reply Quote 1
          • RainChan
            RainChan 摸鱼 last edited by

            0.1.1已发布

            现在有更多的验证码尝试机会
            每次输入错误验证码后会获得新的验证码图片

            直接下载!

            1 Reply Last reply Reply Quote 0
            • 小酷233
              小酷233 last edited by

              QQ图片20210821154726.png
              验证超时和验证错误,这个是什么情况
              麻烦作者帮忙看下,谢谢了

              RainChan 1 Reply Last reply Reply Quote 0
              • Hoshino Tented
                Hoshino Tented ⭐2021⭐ last edited by

                支持

                1 Reply Last reply Reply Quote 0
                • RainChan
                  RainChan 摸鱼 @小酷233 last edited by

                  @小酷233 需要管理员。。。。

                  小酷233 1 Reply Last reply Reply Quote 0
                  • 小酷233
                    小酷233 @RainChan last edited by

                    @rainchan 好像是刚刚bug了,重新上了一下管理好了

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

                      请问使用模式2要求进群后回答问题 这样是什么情况啊
                      QQ截图20210822122315.jpg

                      RainChan 2 Replies Last reply Reply Quote 0
                      • RainChan
                        RainChan 摸鱼 @Sasye last edited by

                        @sasye 很奇怪,难道是API挂了吗?你什么地区的服务器

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

                          @sasye 确实是在线代码运行服务出现了问题。。。你可以自己试一下看看
                          https://www.dooccn.com/

                          建议使用验证码验证

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

                            确实 卡在了执行中

                            1 Reply Last reply Reply Quote 0
                            • M
                              malibermine last edited by

                              请问如何配置config里的两个元组

                              S 1 Reply Last reply Reply Quote 0
                              • S
                                ShichaoCui @malibermine last edited by

                                @malibermine 用不着直接去改它,在控制台里用命令/ga-switch 群号 模式序号设置就行了。

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

                                  Q群管家进群也要验证

                                  hhhhh

                                  K 1 Reply Last reply Reply Quote 0
                                  • Z
                                    zzj666 last edited by

                                    建议添加一个手动验证的指令

                                    1 Reply Last reply Reply Quote 0
                                    • K
                                      koitoyuu @tsudzuki last edited by

                                      This post is deleted!
                                      1 Reply Last reply Reply Quote 0
                                      • K
                                        koitoyuu @RainChan last edited by

                                        @RainChan 大佬,可以修改倒计时秒数吗

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

                                          @koitoyuu 你可以修改代码,我最近没时间修改

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

                                            @RainChan 大佬,怎么默认全群启用验证码模式啊

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