{"id":31836217,"url":"https://github.com/z-mio/judgment-bot","last_synced_at":"2025-10-12T01:28:04.889Z","repository":{"id":306419816,"uuid":"1025499766","full_name":"z-mio/judgment-bot","owner":"z-mio","description":"夹击妹抖 | 简单实用的 Telegram 入群验证 Bot","archived":false,"fork":false,"pushed_at":"2025-09-22T23:40:50.000Z","size":106,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-09-23T01:16:50.590Z","etag":null,"topics":["bot","telegrambot"],"latest_commit_sha":null,"homepage":"https://t.me/Shirai_Kuroko_Bot","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/z-mio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-07-24T10:50:22.000Z","updated_at":"2025-09-22T23:40:54.000Z","dependencies_parsed_at":"2025-08-18T05:19:57.653Z","dependency_job_id":"3d971991-a6a8-4e37-b83f-e280a8a875bc","html_url":"https://github.com/z-mio/judgment-bot","commit_stats":null,"previous_names":["z-mio/judgment-bot"],"tags_count":5,"template":false,"template_full_name":"z-mio/telegram_bot_template","purl":"pkg:github/z-mio/judgment-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z-mio%2Fjudgment-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z-mio%2Fjudgment-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z-mio%2Fjudgment-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z-mio%2Fjudgment-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/z-mio","download_url":"https://codeload.github.com/z-mio/judgment-bot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z-mio%2Fjudgment-bot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279009771,"owners_count":26084646,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bot","telegrambot"],"created_at":"2025-10-12T01:28:02.171Z","updated_at":"2025-10-12T01:28:04.884Z","avatar_url":"https://github.com/z-mio.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Telegramの风纪委员\n\n**简单实用的 Telegram 入群验证 Bot**\n\n**特点:** 入群大于 30 天的普通成员可以每小时使用一次 `/kick` 功能(只允许对入群小于 30 天的成员使用), 以防管理不在导致广告刷屏\n\n**实例:** [@Shirai_Kuroko_Bot](https://t.me/Shirai_Kuroko_Bot)\n\n**Q\u0026A:**\n\n\u003e 为什么不使用更严格的入群验证?  \n\u003e 严格的入群验证也拦不住真人广告哥, 机器人广告哥用简单验证也能拦住  \n\n\u003e 为什么不加聊天记录审查?  \n\u003e 容易误封玩抽象的群友  \n\n\u003e 1小时用一次, 广告哥很多怎么办?  \n\u003e 找其他群友帮忙砍一刀.  \n\n## 环境变量\n\n将 `.env.example` 文件重命名为 `.env`\n\n| 名称               | 描述                            | 默认值         |\n|------------------|-------------------------------|-------------|\n| `API_ID`         | 登录 https://my.telegram.org 获取 |             |\n| `API_HASH`       | 登录 https://my.telegram.org 获取 |             |\n| `BOT_TOKEN`      | 在 https://t.me/BotFather 获取   |             |\n| `ADMIN`          | 管理员用户ID，多个用户用逗号分隔             |             |\n| `PROXY`          | Bot 代理, 海外服务器不用填              |             |\n| `REDIS_HOST`     | Redis 服务器地址                   | `localhost` |\n| `REDIS_PORT`     | Redis 服务器端口                   | `6379`      |\n| `REDIS_PASSWORD` | Redis 密码（如果有设置）               |             |\n| `DEBUG`          | 调试模式开关，设置为 `true` 启用调试日志      | `false`     |\n\n使用 docker-compose 部署可以不填写 redis 配置\n\n## 开始部署\n\n#### Docker (推荐):\n\n**在项目根目录运行:**\n\n```shell\ndocker compose up -d\n```\n\n#### 直接运行:\n\n**在项目根目录运行:**\n\n```shell\n# 安装依赖\napt install python3-pip -y\npip install uv --break-system-packages\nuv venv --python 3.12\nuv sync\n# 运行 Bot\nuv run bot.py \n```\n\n## 使用\n\n私聊 Bot 发送指令 `/menu` 即可自动设置菜单\n\n将 Bot 拉入群内并授权 `封禁用户` `删除消息` 权限\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fz-mio%2Fjudgment-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fz-mio%2Fjudgment-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fz-mio%2Fjudgment-bot/lists"}