Simplify the moderation and management of Telegram groups
Go to file
Mr.D 20fb411133
Merge pull request #3 from fakeowl1/dependabot/pip/certifi-2023.7.22
Bump certifi from 2022.12.7 to 2023.7.22
2023-09-25 15:09:20 +03:00
config Format code to PEP8 & other small changes 2023-07-22 14:07:43 +03:00
filters Migrate to aiogram dev-3.0b6 2023-02-18 15:16:54 +02:00
handlers Migrate to aiogram dev-3.0b6 2023-02-18 15:16:54 +02:00
keyboards Code refactoring 2023-01-22 12:27:20 +02:00
systemd Added telegram-bot-api systemd unit 2023-01-05 12:14:22 +02:00
txt First commit 2022-08-07 11:45:35 +03:00
utils Format code to PEP8 & other small changes 2023-07-22 14:07:43 +03:00
.env.dist Format code to PEP8 & other small changes 2023-07-22 14:07:43 +03:00
.gitignore Modify .gitignore 2022-12-25 16:21:42 +02:00
LICENSE Create LICENSE 2022-08-07 09:18:32 +00:00
README.md Format code to PEP8 & other small changes 2023-07-22 14:07:43 +03:00
app.py Format code to PEP8 & other small changes 2023-07-22 14:07:43 +03:00
database.py Format code to PEP8 & other small changes 2023-07-22 14:07:43 +03:00
load.py Format code to PEP8 & other small changes 2023-07-22 14:07:43 +03:00
poetry.lock Bump certifi from 2022.12.7 to 2023.7.22 2023-09-25 12:07:27 +00:00
pyproject.toml Bump requests from 2.28.1 to 2.31.0 2023-07-22 11:11:50 +00:00
requirements.txt Modified: requirements.txt 2023-02-10 14:25:26 +02:00

README.md

About

This bot is designed to simplify the moderation and management of Telegram groups.

Features

  • User roles
  • User complains system
  • Admin activity log

Up

  • Required: python3.11
  • Up Telegram Bot API server on port 5326
  • Use the .env.dist template example for creating .env
  • After first start use !reload for parsing members list and permissions

Configuration .env

environment variables description
bot_token telegram bot token
api_id and api_hash telegram application data
group_id group id
second_group_id seconds group for admins
telegram_bot_api_server telegram bot api server
db_uri connection info to database
limit_of_warns limit user warnings
update_interval interval for update of user data

TODO

  • Multigroup support
  • Integrate project with docker
  • Flood detection
  • Web(in development)

Support

Every investition helps in maintaining this project and making it better.

Don't donate to this wallet yet, I've lost access to it. Wait until I restore the wallet or create a new one.