Coder Social home page Coder Social logo

haku-qqbot's Introduction

haku bot

这是原 py-hakuBot 的重构,但并没有达到它的完善程度

日志 flask

message 消息 alarm 定时消息 misc 杂项消息

配置文件使用 yaml 和 json

数据库使用 sqlite3

消息发送 api 支持 go-cqhttp

故障上报到指定 qq 或群组

不重启 bot 即可更新插件

配合 systemd 实现更新后的自动重启

黑白名单(qq/群组过滤),先判断黑名单,后判断白名单

项目结构

  • haku
    • core.py
    • report.py
    • config.py
    • plugin.py
    • cache.py
    • frontend.py
  • api
    • gocqhttp.py
  • data
    • sqlite.py
    • json.py
    • log.py
  • handlers
    • message.py
    • alarm.py
    • misc.py
  • plugins
    • commands
      • some_plugins.py
  • main.py

目录结构

  • files
    • sqlite
      • some.db
    • json
      • some.json
    • log
      • some.txt
    • config.yaml
  • libs
    • go-cqhttp
      • go-cqhttp
      • device.json

haku-qqbot's People

Contributors

weilinfox avatar apple-qaq 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.