前往QQ开放平台,注册QQ机器人获取APPID和TOKEN
与KazuhaBot对比
- 本项目仅保留了公告推送内容,更加简洁高效。
- 使用外置渲染器,图片渲染更高效。
全新版本,全新体验
安装pnpm
已安装的可以跳过
npm install pnpm -g请根据网络情况选择Github安装或Gitee安装
// 使用gitee
git clone --depth=1 https://gitee.com/rainbowwarmth/KazuhaBot
pnpm i
// 使用github
git clone --depth=1 https://github.com/rainbowwarmth/KazuhaBot
打开config文件夹,选中config.example.json文件重命名为config.json文件,并更改其中的APP_ID和APP_TOKEN为机器人对应ID与TOKEN
必须安装并运行@Karinjs/puppeteer
//使用pnpm
pnpm init && pnpm install @karinjs/puppeteer --registry=https://registry.npmmirror.com && node .
//使用Github
git clone https://github.com/KarinJS/puppeteer
npm run build
node .
运行@Karinjs/puppeteer后打开config文件夹,选中打开config.json文件,将useExternalBrowser的值flase改为true即可
启动redis后
在终端输入node .运行
| 名称 | 介绍 |
|---|---|
| KazuhaBot | 飞龙大佬的KazuhaBot |
| @Karinjs/puppeteer | Karin外置渲染器 |
- 项目仅供学习交流使用,严禁用于任何商业用途和非法行为
- MIT 许可证
