1
0
Fork 0
out-of-your-element-fork-th.../matrix/appservice.js
2023-09-06 12:00:39 +12:00

8 lines
229 B
JavaScript

const reg = require("../matrix/read-registration")
const AppService = require("matrix-appservice").AppService
const as = new AppService({
homeserverToken: reg.hs_token
})
as.listen(+(new URL(reg.url).port))
module.exports = as