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 149a21d6e3 Add silent commands 2022-11-28 21:29:44 +02:00
config Remove not need environment variable 2022-11-28 11:44:03 +02:00
filters Check if database is empty and remind user 2022-11-25 23:44:05 +02:00
handlers Add silent commands 2022-11-28 21:29:44 +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 Add silent commands 2022-11-28 21:29:44 +02:00
.env.dist Remove not need environment variable 2022-11-28 11:44:03 +02:00
.gitignore Modify .gitignore 2022-11-26 18:12:09 +02:00
LICENSE Create LICENSE 2022-08-07 09:18:32 +00:00
README.md Add silent commands 2022-11-28 21:29:44 +02:00
app.py Delete commands /media and /stickers 2022-11-26 18:36:31 +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)
  • Member roles
  • Report users
  • User complaints
  • Save admin actions in database

Installation

  • Required:python3.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

environment variables 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

TODO

  • Docker
  • Systemd unit
  • Antiflood system
  • Silent commands
  • Site for group moderator

Support

Every investition helps in maintaining this project and making it better.