d390d2ebe9 | ||
---|---|---|
config | ||
filters | ||
handlers | ||
keyboards | ||
states | ||
txt | ||
utils | ||
.env.dist | ||
.gitignore | ||
LICENSE | ||
README.md | ||
app.py | ||
database.py | ||
load.py | ||
poetry.lock | ||
pyproject.toml |
README.md
About
This bot is designed to simplify the moderation and management of Telegram groups.
Features
Ban,mute users(for a specified time).
Report users.
User complaints.
Enable/Disable stickers/images.
Logging admin command actions in database.
Installation
- Required:Python3 3.x,poetry.
- 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
Name | 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 |
vt_api |
VirusTotalAPI token (optionaly) |
TODO
- System roles 🔒
- Analys file for malware 🔎
- Paste text to PasteBin or PrivNote 📋
- Site for group moderator 🌍
- Change PeeWee to SQLAlchemy
- Some fix in database
Support
Every investition helps in maintaining this project and making it better.