Git Product home page Git Product logo

scp-079-tip's Introduction

SCP-079-TIP

This bot is used to send tips.

How to use

Requirements

  • Python 3.6 or higher
  • Debian 10: sudo apt update && sudo apt install opencc pybind11-dev -y
  • Google RE2 installed
    • sudo apt install build-essential git python3-dev -y
    • git clone https://github.com/google/re2.git ~/re2
    • cd ~/re2
    • make
    • make test
    • sudo make install
    • make testinstall
    • sudo ldconfig
  • pip: pip install -r requirements.txt

Files

  • examples
    • config.ini -> ../data/config/config.ini : Configuration example
    • join.txt -> ../data/config/join.txt : Join template example
    • start.txt -> ../data/config/start.txt : Start template example
  • plugins
    • functions
      • channel.py : Functions about channel
      • command.py : Functions about command
      • config.py : Functions about group settings
      • decorators.py : Some decorators
      • etc.py : Miscellaneous
      • file.py : Save files
      • filters.py : Some filters
      • group.py : Functions about group
      • ids.py : Modify id lists
      • markup.py : Get reply markup
      • program.py : Functions about program
      • receive.py : Receive data from exchange channel
      • telegram.py : Some telegram functions
      • timers.py : Timer functions
      • tip.py : Functions about tips
      • user.py : Functions about user and channel object
    • handlers
      • callback.py : Handle callbacks
      • command.py : Handle commands
      • message.py: Handle messages
    • checker.py : Check the format of config.ini
    • glovar.py : Global variables
    • start.py : Execute before client start
    • version.py : Execute before main script start
  • .gitignore : Ignore
  • Dockerfile : Assemble the docker image
  • LICENSE : GPLv3
  • main.py : Start here
  • README.md : This file
  • requirements.txt : Managed by pip

Contribution

Contributions are always welcome, whether it's modifying source code to add new features or bug fixes, documenting new file formats or simply editing some grammar.

You can also join the discuss group if you are unsure of anything.

Translation

License

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

scp-079-tip's People

Contributors

chaosrun avatar septs avatar borschts avatar

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.