This repository has been archived on 2024-07-28. You can view files and clone it, but cannot push or open issues or pull requests.
moderator-bot/README.md

52 lines
1.8 KiB
Markdown
Raw Normal View History

2022-08-07 04:43:50 -04:00
## About
This bot is designed to simplify the moderation and management of Telegram groups.
<p align="center">
<img src="https://img.shields.io/badge/license-GPL-blue">
</p>
## Features
Ban,mute users(for a specified time).
Report users.
User complaints.
Enable/Disable stickers/images.
Logging admin command actions in database.
## Installation
2022-11-25 16:10:03 -05:00
- Required:Python3 3.x,poetry/pip.
2022-08-07 04:43:50 -04:00
- 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 |
2022-08-16 06:28:08 -04:00
| `second_group_id` | Seconds group for admins |
2022-08-07 04:43:50 -04:00
| `vt_api` | VirusTotalAPI token (optionaly) |
## TODO
2022-08-07 04:47:24 -04:00
- [x] System roles 🔒
2022-11-26 11:05:21 -05:00
- [ ] Add silent commands
- [ ] Antiflood system
2022-08-07 04:43:50 -04:00
- [ ] Analys file for malware 🔎
- [ ] Paste text to PasteBin or PrivNote 📋
- [ ] Site for group moderator 🌍
2022-11-06 03:48:10 -05:00
- [ ] Change PeeWee to SQLAlchemy
- [x] Some fix in database
2022-08-07 04:43:50 -04:00
## Support
Every investition helps in maintaining this project and making it better.
<img src="https://img.shields.io/badge/btc-bc1qzp7q3rghzcx70534e7xf6tj0ns3dqvvnex80kf-green?logo=bitcoin">