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

2.4.2 • Public • Published

koishi-plugin-relay

Koishi 消息转发器 +1,具有匿名性。

安装

npm

npm install koishi-plugin-relay

直接安装

https://cdn02.moecube.com:444/nanahira/koishi-plugin/relay/index.js 下载即可。

配置

部分配置见 koishi-target-def 的定义。

# koishi.yaml
plugins:
  relay:foo:
    from: # 从这里接收
      bot: 'onebot:1111111111'
      users:
        - '2222222221'
    to: # 发送到这里
      bot: 'onebot:1111111111'
      users:
        - '2222222222'
    cc: # 同时发送给,会带上前缀
      - bot: 'onebot:1111111111'
        users:
          - '2222222223'

Package Sidebar

Install

npm i koishi-plugin-relay

Weekly Downloads

31

Version

2.4.2

License

MIT

Unpacked Size

21 kB

Total Files

9

Last publish

Collaborators

  • nanahira