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 f42f28a0ce Migrate to aiogram dev-3.0b6 2023-02-18 15:16:54 +02:00
config Code refactoring 2023-01-22 12:27:20 +02:00
filters Migrate to aiogram dev-3.0b6 2023-02-18 15:16:54 +02:00
handlers Migrate to aiogram dev-3.0b6 2023-02-18 15:16:54 +02:00
keyboards Code refactoring 2023-01-22 12:27:20 +02:00
systemd Added telegram-bot-api systemd unit 2023-01-05 12:14:22 +02:00
txt First commit 2022-08-07 11:45:35 +03:00
utils Migrate to aiogram dev-3.0b6 2023-02-18 15:16:54 +02:00
.env.dist Added task scheduling 2023-01-04 22:14:32 +02:00
.gitignore Modify .gitignore 2022-12-25 16:21:42 +02:00
LICENSE Create LICENSE 2022-08-07 09:18:32 +00:00
README.md Modified: README.md 2023-02-07 12:15:23 +02:00
app.py Migrate to aiogram dev-3.0b6 2023-02-18 15:16:54 +02:00
database.py Code refactoring 2022-12-01 12:54:32 +02:00
load.py Migrate to aiogram dev-3.0b6 2023-02-18 15:16:54 +02:00
poetry.lock Bump certifi from 2022.6.15 to 2022.12.7 2022-12-11 14:17:45 +00:00
pyproject.toml telethon -> pyrogram 2022-08-13 15:25:52 +03:00
requirements.txt Modified: requirements.txt 2023-02-10 14:25:26 +02:00

README.md

About

This bot is designed to simplify the moderation and management of Telegram groups.

Features

  • Admin commands
  • Member roles
  • Automatic user data update
  • Report users
  • Silent commands
  • User complaints
  • Save admin actions in database

Installation

  • Required: python3.x, poetry/pip
  • Clone this repo
  • Telegram API Service on port 5326(you can run systemd unit in systemd/)
  • 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
api_id and api_hash telegram application data
group_id group id
second_group_id seconds group for admins
telegram_bot_api_server telegram bot api server
db_url connection info to database
limit_of_warns limit user warnings
update_interval interval for update of user data

TODO

  • Migrate to aiogram dev-3.0x
  • Docker
  • 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.

Don't donate to this wallet yet, I've lost access to it. Wait until I restore the wallet or create a new one.