3.0.0 • Published 1 year ago

koishi-plugin-adapter-matrix v3.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

koishi-plugin-adapter-matrix

接入方法

  1. 编写 registry.yaml, 参考 Registion
id: koishi # Application Service 的 ID
hs_token: # hs_token 与 as_token 没有特别的格式要求,请确保不会泄漏
as_token:
url: # 你的机器人的地址
sender_localpart: koishi # sender_localpart 不能与机器人的 id 相同
namespaces:
  users:
  - exclusive: true
    regex: '@koishi:matrix.example.com' # 你的机器人的 userId。如果需要使用同样的 as_token 和 hs_token 的情况下加载多个 adapter-matrix 插件, 请使用正则表达式
  1. registry.yaml 添加进你的 homeserver, 如 synapse 则使用 app_service_config_files 配置项来指向 registry.yaml 并重启 homeserver
  2. 启动机器人,在控制台中配置 @koishijs/plugin-verifier 与本插件
  3. 在房间中邀请机器人(机器人的 ID 为 @${id}:${host}
3.0.0

1 year ago

2.1.0

1 year ago

2.0.2

1 year ago

2.0.1

2 years ago

2.0.0

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago