Releases: anthonygozzini/telegram-gatekeeper-bot
Release list
v3.0.0 — configurable gatekeeper
One bot for any community, configured in config.toml instead of code:
- questions of three types: a social profile link (X, Instagram, TikTok, YouTube, GitHub, LinkedIn — checked to be a real profile), yes/no that can be required, free text with a minimum length;
- signals of fake or farmed accounts: no username, a username full of digits, names with words you choose, a profile already used by another applicant — a signal sends the request to a human, it never rejects on its own;
autoormanualmode, a re-apply cooldown, single-use invite links that can expire;- every request and decision stored in SQLite and posted to the admin group; joins and leaves of the private group logged to a channel (the separate logger from v2 is now built in).
./check runs 40 tests on the rules, the configuration, the storage and the Telegram calls. The flow has not yet been run against a live Telegram group.
v2.0.0 — automatic approval
Automatic approval with Twitter/X profile URL validation, and every decision logged to the admin group (January 2024). Adds a separate join/leave logger bot in log/.
Change from the original code: the logger now makes its database available to the message handler; before, the first join or leave raised a NameError.
v1.0.0 — manual review
Applicants answer a short questionnaire; admins approve or reject from the admin group; approved applicants get a one-time invite link. Originally written in December 2023.
Change from the original code: the callback pattern is now a raw string (avoids Python's invalid-escape warning).