Coder Social home page Coder Social logo

koishi-plugin-adapter-matrix's Introduction

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}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.