koishi-target-def
TypeScript icon, indicating that this package has built-in type declarations

2.1.2 • Public • Published

Koishi Target Def

指定目标发送消息的 Schema 定义。

定义示例

bot: onebot:123456789
users:
  - '111111111' # 私聊发送
channels:
  - channelId: '222222222' # 群聊发送
    guildId: '333333333' # 可选,如果有两级群组的话

/koishi-target-def/

    Package Sidebar

    Install

    npm i koishi-target-def

    Weekly Downloads

    25

    Version

    2.1.2

    License

    MIT

    Unpacked Size

    18.2 kB

    Total Files

    11

    Last publish

    Collaborators

    • nanahira