Giter VIP home page Giter VIP logo

nsfw-robot's Introduction

Group Guardian

Group Guardian is an open source Telegram bot designed to help group administrators maintain a clean and safe environment for their communities. The bot offers two main functionalities:
  • 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.

Getting Started

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.

Required Configs

Deploy ๐Ÿš€

Easiest Heroku Deploy ๐Ÿคญ

herokudeploy-01

Host Locally ๐Ÿค•

  1. Clone this repository to your local machine using:

    git clone https://github.com/TOXIC-BOY-OP/NSFW-ROBOT
    
  2. Install the required dependencies using pip:

    cd group-guardian
    pip install -r requirements.txt
    
  3. Create a new bot in Telegram and get your API token (you can follow the instructions here).

  4. Configure the bot's settings by editing the config.py file.

  5. Start the bot by running:

    python3 main.py
    
  6. Add the bot to your Telegram group and enjoy a clean and safe environment!

Support Group:

Contributors

pyrogram

Contributing

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!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.