Skip to content

crabvk/python-perception-guardian

Repository files navigation

DISCONTINUED: Further bot development is carried out here in Rust.

Perception Guardian

Telegram bot with image-emoji CAPTCHA challenge-response.

example

Features

  • Show CAPTCHA for new members
  • Ban channels (optional)
  • Change bot language for a group (only English and Russian supported at the time)
  • Set custom Welcome message

Configuration

Copy config.example.yaml to config.yaml. See comments for config settings descriptions.
No defaults, all config settings are mandatory.

Bot settings

Use /settings command to change bot settings for a group.

TODO

  • validate "Welcome message" markup
  • limit number of New Chat Members per minute, don't show captcha when limit has reached
  • /vacuum command to search and delete "Deleted Account"s
  • detect spam
  • periodicly delete expired "ignore" set key/scores
  • https://stackoverflow.com/questions/61419046/administrator-permissions-check-aiogram
  • /stats command to show bot statistics: number of users passed/not passed captcha for group, etc.
  • add more emoji

Resources

About

Telegram bot with image-emoji CAPTCHA challenge-response

Resources

License

Stars

Watchers

Forks

Packages

No packages published