@zerxz/koishi-plugin-gocqhttp
TypeScript icon, indicating that this package has built-in type declarations

1.1.2 • Public • Published

koishi-plugin-gocqhttp

npm

此插件将自动下载 go-cqhttp,并在启动时自动运行,从而支持无需后端的 @koishijs/plugin-adapter-onebot。

环境变量

  • GITHUB_MIRROR:下载所用的 GitHub 镜像,默认为 https://download.fastgit.org
  • GOCQHTTP_VERSION:要使用的 go-cqhttp 版本,设置为 latest 则使用最新版本,当前默认为 v1.0.0-beta8-fix2

配置项

  • device: 改变设备协议(只有gocqhttp文件夹里面有device.json才会改生效) 默认是 'iPad'
  • mirror: 跟GITHUB_MIRROR环境变量一样意义(只不过下载失败才生效会配置) 默认为 'https://download.fastgit.org'
  • version: 跟GOCQHTTP_VERSION环境变量一样意义(只不过下载失败才会生效配置) 默认为 'v1.0.0-beta8-fix2'

Package Sidebar

Install

npm i @zerxz/koishi-plugin-gocqhttp

Weekly Downloads

23

Version

1.1.2

License

AGPL-3.0

Unpacked Size

822 kB

Total Files

12

Last publish

Collaborators

  • zerxz