-
Word Slagging: With the word slagging feature, the bot can detect and remove inappropriate language or spam messages in a group.You can define a list of banned words or phrases in slang words file, and the bot will automatically delete any message containing them.
-
Image Filtering: The bot also includes an image filtering feature that can automatically detect and remove pornographic or NSFW images in a group and sent a censored version of the image.
To use Group Guardianship, simply add the bot to your Telegram group and promote to admin.If anyone sends a message containing offensive language or an NSFW image, the bot will automatically delete the message and send a censored version of it instead.
BOT_TOKEN
- Get from @BotFatherAPI_ID
- Get it from telegram.orgAPI_HASH
- Get it from telegram.org
-
Clone this repository to your local machine using:
git clone https://github.com/nacbots/group-guardian
-
Install the required dependencies using pip:
cd group-guardian pip install -r requirements.txt
-
Create a new bot in Telegram and get your API token (you can follow the instructions here).
-
Configure the bot's settings by editing the
config.py
file. -
Start the bot by running:
python3 main.py
-
Add the bot to your Telegram group and enjoy a clean and safe environment!
If you find a bug or have a suggestion for a new feature, please open an issue on this repository or submit a pull request. We welcome contributions from the community!