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

3.8.1 • Public • Published

本插件停止维护

请移步:https://github.com/Mrs4s/go-cqhttp/issues/2471

愿我们能在更加开放的平行世界再次相遇。


koishi-plugin-gocqhttp

npm

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

目前支持以下功能:

  • [x] 扫描二维码登录
  • [x] 手机短信验证码
  • [x] captcha 图片
  • [x] 滑条验证
  • [x] 设置登录设备

安装

npm install koishi-plugin-gocqhttp

使用方法

要使用此插件,需要完成两步配置:

# koishi.yml
plugins:
  # 1. 添加这个插件
  gocqhttp:

  adapter-onebot:
    selfId: '123456789'
    protocol: ws-reverse
    # 2. 向机器人配置中添加 gocqhttp 属性
    # 未设置 enabled=true 的机器人不会创建子进程
    gocqhttp:
      enabled: true
      password: xxxxx

Package Sidebar

Install

npm i koishi-plugin-gocqhttp

Weekly Downloads

43

Version

3.8.1

License

AGPL-3.0

Unpacked Size

79.6 kB

Total Files

15

Last publish

Collaborators

  • shigma