This tutorial demonstrates how to build a QQ robot using NoneBot and gocqhttp from scratch using the non-so-strict “Model-Control-Service” architecture. After reading the guide and trying the code, the reader should be able to deploy a mini feature-rich robot that can serve on a desktop or a server.
Project is for demo only! Do not take it seriously (i.e. relying on it on production without tweaks).
The guide advances through these chapters:
ping
命令You should read The license before proceeding.
Please email or submit an issue if you have any questions regarding licenses or copyrights.
Clone the project
git clone https://github.com/Box-s-ville/luciabot && cd luciabot
Go to gocqhttp/config.yml and modify the robot’s qq and password.
A docker environment is preferred. Deploying this app using docker is easy.
docker-compose build
docker-compose up
Which are exactly the same procedures described in the guide section.
The tutorial (and the dependencies of the project) goes not guarantee to be most precise or up-to-date. If any incompatibilities, errors and bugs are present, you can submit an issue or open a pull request. Help is appreciated.