From 2c6a54d43546d7889adfb6ae44272dd4a593222c Mon Sep 17 00:00:00 2001 From: hok7z Date: Sun, 7 Aug 2022 11:43:50 +0300 Subject: [PATCH] Add READM.md & gitignore --- .gitignore | 10 ++++++++++ README.md | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 .gitignore create mode 100644 README.md diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..631bf57 --- /dev/null +++ b/.gitignore @@ -0,0 +1,10 @@ +__pycache__ +database/db.db +database/__pycache__ +handlers/__pycache__ +filters/__pycache__ +config/__pycache__ +modules/__pycache__ +.env +pyrightconfig.json +session.session diff --git a/README.md b/README.md new file mode 100644 index 0000000..9b90cdb --- /dev/null +++ b/README.md @@ -0,0 +1,47 @@ +## 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 | +| `telegram_log_chat` | Seconds group for admins | +| `vt_api` | VirusTotalAPI token (optionaly) | + +## TODO +- [x] System rules 🔒 +- [ ] Analys file for malware 🔎 +- [ ] Paste text to PasteBin or PrivNote 📋 +- [ ] Site for group moderator 🌍 + +## Support +Every investition helps in maintaining this project and making it better. + +