使用HTTP API的node机器人框架


Keywords
qq-robot, go-cqhttp, node, typescript, cqhttp, qqbot
License
GPL-3.0
Install
npm install xianyu-robot@4.18.0

Documentation

咸鱼Bot

可使用Http Api的的QQ机器人框架 (虽然版本号很高,但是其实还有很多不完善的地方,随时会有大改的可能性)

客户端请使用go-cqhttp

安装方法

npm install -S xianyu-robot
# yarn add xianyu-robot

使用方法

推荐使用TypeScript开发以获得较为完整的类型提示

// TypeScript
import App from 'xianyu-robot'

const app = new App()

app.start()

// JavaScript
const App = require('xianyu-robot').default

const app = new App()

app.start()

文档

详细文档

项目参考

开发中大量参考了以下项目,在此表示感谢

LICENSE

本项目使用LGPL协议,仅作为库使用时不必开源,但出现对项目源码进行修改,则需要将你修改后的版本进行开源。