/scp-079-nospam

Block spam in groups

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

SCP-079-NOSPAM

This bot is used to block spam in groups.

How to use

To Do List

  • Basic functions

Requirements

  • Python 3.6 or higher
  • Debian 10: sudo apt update && sudo apt install libzbar0 opencc tesseract-ocr tesseract-ocr-chi-sim tesseract-ocr-chi-tra -y
  • pip: pip install -r requirements.txt or pip install -U APScheduler emoji OpenCC Pillow pyAesCrypt pyrogram pytesseract pyzbar tgcrypto

Files

  • plugins
    • functions
      • channel.py : Functions about channel
      • etc.py : Miscellaneous
      • file.py : Save files
      • filters.py : Some filters
      • group.py : Functions about group
      • ids.py : Modify id lists
      • image.py : Functions about image
      • receive.py : Receive data from exchange channel
      • telegram.py : Some telegram functions
      • tests.py : Some test functions
      • timers.py : Timer functions
      • user.py : Functions about user and channel object
    • handlers
      • command.py : Handle commands
      • message.py: Handle messages
    • glovar.py : Global variables
  • .gitignore : Ignore
  • config.ini.example -> config.ini : Configuration
  • LICENSE : GPLv3
  • main.py : Start here
  • README.md : This file
  • requirements.txt : Managed by pip

Contribute

Welcome to make this project even better. You can submit merge requests, or report issues.

License

Licensed under the terms of the GNU General Public License v3.