Simplify the moderation and management of Telegram groups
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.
Go to file
hok7z 20fbccb6fe Auto forwarding message from a channel to chat 2022-11-26 17:48:31 +02:00
config Some fix database and etc 2022-11-06 10:48:10 +02:00
filters Check if database is empty and remind user 2022-11-25 23:44:05 +02:00
handlers Auto forwarding message from a channel to chat 2022-11-26 17:48:31 +02:00
keyboards Some fix database and etc 2022-11-06 10:48:10 +02:00
states First commit 2022-08-07 11:45:35 +03:00
txt First commit 2022-08-07 11:45:35 +03:00
utils Check if database is empty and remind user 2022-11-25 23:44:05 +02:00
.env.dist Some fix database and etc 2022-11-06 10:48:10 +02:00
.gitignore modified: .gitignore 2022-11-25 23:06:23 +02:00
LICENSE Create LICENSE 2022-08-07 09:18:32 +00:00
README.md Modify README.md 2022-11-25 23:10:03 +02:00
app.py Check if database is empty and remind user 2022-11-25 23:44:05 +02:00
database.py Check if database is empty and remind user 2022-11-25 23:44:05 +02:00
load.py Some fix database and etc 2022-11-06 10:48:10 +02:00
poetry.lock telethon -> pyrogram 2022-08-13 15:25:52 +03:00
pyproject.toml telethon -> pyrogram 2022-08-13 15:25:52 +03:00
requirements.txt Add requirements.txt 2022-11-25 23:09:10 +02:00

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/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

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.