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

1.2.0 • Public • Published

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

Base on tencent api.

Config

export const config = Tsu.Object({
  appid: Tsu.String().describe('Appid, get from https://q.qq.com/qqbot/'),
  secret: Tsu.String().describe("Bot's secret "),
  retry: Tsu.Number().positive().default(10).describe('try reconnect times when disconnected (seconds)')
})

Supports

Events

  • on_message

Api

  • sendGroupMsg
  • sendChannelMsg

Elements

  • text
  • image
  • voice
  • mention
  • video

Reference

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

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

    Weekly Downloads

    0

    Version

    1.2.0

    License

    GPL-3.0

    Unpacked Size

    62.7 kB

    Total Files

    15

    Last publish

    Collaborators

    • biyuehu