{"id":18714020,"url":"https://github.com/xi-plus/telegram-join-audit","last_synced_at":"2025-04-12T12:11:33.365Z","repository":{"id":87553365,"uuid":"262336740","full_name":"Xi-Plus/Telegram-Join-Audit","owner":"Xi-Plus","description":"Telegram bot to request new member to answer questions and auditing by admin before joining a chat","archived":false,"fork":false,"pushed_at":"2023-02-17T05:00:08.000Z","size":86,"stargazers_count":8,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-26T06:51:11.377Z","etag":null,"topics":["telegram-bot"],"latest_commit_sha":null,"homepage":"","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/Xi-Plus.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}},"created_at":"2020-05-08T13:54:32.000Z","updated_at":"2024-12-14T18:06:31.000Z","dependencies_parsed_at":"2023-03-15T13:30:58.449Z","dependency_job_id":null,"html_url":"https://github.com/Xi-Plus/Telegram-Join-Audit","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xi-Plus%2FTelegram-Join-Audit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xi-Plus%2FTelegram-Join-Audit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xi-Plus%2FTelegram-Join-Audit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xi-Plus%2FTelegram-Join-Audit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Xi-Plus","download_url":"https://codeload.github.com/Xi-Plus/Telegram-Join-Audit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248565074,"owners_count":21125417,"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","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":["telegram-bot"],"created_at":"2024-11-07T12:50:56.290Z","updated_at":"2025-04-12T12:11:33.359Z","avatar_url":"https://github.com/Xi-Plus.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Telegram-Join-Audit\n\n## FAQ\n+ 未申請就入群的人在申請通過後會解 Ban ？\n\t+ \u003cb\u003e注意！\u003c/b\u003e機器人會記錄是否曾封鎖過該申請人，若有，在管理員批准後即會嘗試解除封鎖該使用者，就算是後來其他管理員修改了封鎖也是如此，進行審核的管理員應自行注意此事，或者你可能想要使用 `/ban` 指令來禁止其申請\n+ 機器人故障時入群的人，在機器人恢復後會如何處理？\n\t+ 不會有任何處理，入群時無論是否申請通過皆會有提示訊息，若沒有訊息就代表機器人故障了\n+ 未申請通過的人被 Ban 前發送的訊息會如何處理？\n\t+ 不會有任何處理\n+ 可以透過機器人和申請者對話？\n\t+ 無法，`/comment` 所設定的訊息僅會在 `/reanswer` 、 `/approve` 或 `/reject` 時一次性發送給申請者\n+ 申請者可以將入群連結交給其他人使用？\n\t+ 無法，入群時會檢查是否通過申請，不會檢查入群連結是否屬於該申請者\n+ 在機器人啟用前已在群組內的人可以申請入群嗎？\n\t+ 可以，你可能想要先將群員名單匯入資料庫來避免此事發生\n+ 需要給予機器人什麼權限？\n\t+ 在受限群（`CENSORED`）給予機器人 `Ban users` 和 `Add users` 權限\n\n## Command\n### User\n#### Any text\n回應各狀態的預設訊息\n\n#### /request\n在 `new` 及 `rejected` 狀態時獲得新的入群題目\n\n#### /answer\n在 `filling` 狀態時設定答案，範例：\n```\n/answer\n1. 答案一\n2. 答案二...\n```\n\n#### /submit\n在 `filling` 狀態時回答完問題後送出申請，管理群組會收到通知\n\n#### /join\n在 `approved` 狀態時取得入群連結\n\n### Admin\n#### /review\n查看申請答案\n* `/review 12345` - 查看12345的申請答案\n\n#### /comment\n設定給申請者的訊息，訊息會在 `/reanswer` 、 `/approve` 或 `/reject` 後同時發送給申請者，需要有 `review` 權限\n* `/comment 12345 歡迎` - 給12345訊息「歡迎」\n\n#### /reanswer\n要求申請者重新作答，需要有 `review` 權限\n* `/reanswer 12345` - 要求12345重新作答\n\n#### /approve\n批准申請，需要有 `review` 權限\n* `/approve 12345` - 批准12345的申請\n\n#### /reject\n拒絕申請，需要有 `review` 權限\n* `/reject 12345` - 拒絕12345的申請\n\n#### /ban\n禁止申請，需要有 `review` 權限\n* `/ban 12345` - 禁止12345的申請\n\n#### /list_request\n列出目前的申請\n\n#### /grant_review\n授予其他人審核權限，需要有 `grant` 權限\n\n#### /revoke_review\n撤銷其他人審核權限，需要有 `grant` 權限\n\n#### /grant_grant\n授予其他人授權權限，需要有 `super` 權限\n\n#### /revoke_grant\n撤銷其他人授權權限，需要有 `super` 權限\n\n#### /list_permissions\n列出擁有權限的使用者\n\n#### /set_status\n設定申請狀態，僅在 Debug Mode 啟用時有效，需要有 `review` 權限\n* `/set_status 12345 new` 將12345的申請狀態設定為 `new`\n\n#### /delete\n刪除使用者，僅在 Debug Mode 啟用時有效，需要有 `review` 權限\n* `/delete 12345` 刪除使用者12345\n\n## Status\n| status | description |\n| --- | --- |\n| `new` | 新使用者 |\n| `filling` | 正在回答入群問題 |\n| `submitted` | 已送出申請 |\n| `rejected` | 申請已被拒絕 |\n| `banned` | 被禁止申請 |\n| `approved` | 申請已被批准 |\n| `joined` | 已加入群組 |\n\n## Permission\n| permission | description |\n| --- | --- |\n| `review` | 可進行審核 |\n| `grant` | 可授予其他人審核權限 |\n| `super` | 可授予其他人授權權限 |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxi-plus%2Ftelegram-join-audit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxi-plus%2Ftelegram-join-audit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxi-plus%2Ftelegram-join-audit/lists"}