@kotori-bot/kotori-plugin-adapter-onebot
TypeScript icon, indicating that this package has built-in type declarations

1.2.1 • Public • Published

@kotori-bot/kotori-plugin-adapter-onebot

Base on go-cqhttp.

Config

interface OnebotConfig extends AdapterConfig {
  port: number; // Open or connect port (1 ~ 65525)
  address: string; // Open or connect address (ws://...)
  retry: number; // Retry connect time On websocket mode (default: 10 Seconds)
  mode: 'ws' | 'ws-reverse'; // Adapter mode: websocket or websocket reverse
}

Reference

Package Sidebar

Install

npm i @kotori-bot/kotori-plugin-adapter-onebot

Weekly Downloads

5

Version

1.2.1

License

GPL-3.0

Unpacked Size

62.4 kB

Total Files

15

Last publish

Collaborators

  • biyuehu