87eaa9ffca
Bumps [certifi](https://github.com/certifi/python-certifi) from 2022.6.15 to 2022.12.7. - [Release notes](https://github.com/certifi/python-certifi/releases) - [Commits](https://github.com/certifi/python-certifi/compare/2022.06.15...2022.12.07) --- updated-dependencies: - dependency-name: certifi dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> |
||
---|---|---|
config | ||
filters | ||
handlers | ||
keyboards | ||
states | ||
txt | ||
utils | ||
.env.dist | ||
.gitignore | ||
LICENSE | ||
README.md | ||
app.py | ||
database.py | ||
load.py | ||
poetry.lock | ||
pyproject.toml | ||
requirements.txt |
README.md
About
This bot is designed to simplify the moderation and management of Telegram groups.
Features
- Ban,mute users(for a specified time)
- Silent commands
- Member roles
- Report users
- User complaints
- Save admin actions in database
Installation
- Required:python3.x, poetry/pip
- Clone this repo
- Telegram API Service on port 5326
- Move the .env.dist text template to .env and configure him
- First start use
!reload
for parsing members and permissions
Configuration .env
environment variables | description |
---|---|
bot_token |
telegram bot token |
telegram_bot_api_server |
telegram bot api server |
db_url |
connection info to database |
api_id and api_hash |
telegram application data |
group_id |
group id |
second_group_id |
seconds group for admins |
TODO
- Docker
- Systemd unit
- Write antithrotling midlware middleware(anti flood system)
- Site for group moderator(in development)
Support
Every investition helps in maintaining this project and making it better.