项目作者: scp-079

项目描述 :
Auto delete NSFW media messages
高级语言: Python
项目地址: git://github.com/scp-079/scp-079-noporn.git
创建时间: 2019-10-19T12:37:06Z
项目社区:https://github.com/scp-079/scp-079-noporn

开源协议:GNU General Public License v3.0

下载


SCP-079-NOPORN

This bot is used to auto delete NSFW media messages.

How to use

To Do List

  • Auto delete NSFW media messages
  • Update user’s score
  • Watch ban or ban by checking user’s score and status
  • Managed by SCP-079-CONFIG

Requirements

  • Python 3.6 or higher
  • Debian 10: sudo apt update && sudo apt install caffe-cpu opencc -y
  • Follow the file fix.py to fix an error
  • venv: python3 -m venv --system-site-packages ~/scp-079/noporn/venv
  • pip: pip install -r requirements.txt or pip install -U APScheduler emoji OpenCC Pillow pyAesCrypt pyrogram[fast] nsfw numpy scikit-image

Files

  • plugins
    • functions
      • channel.py : Functions about channel
      • etc.py : Miscellaneous
      • file.py : Save files
      • filters.py : Some filters
      • fix.py : Show steps to fix an error
      • 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.