Don't use // and [] in the output for i//
This commit is contained in:
parent
2f999368a3
commit
7c7f7bff0f
5
index.ts
5
index.ts
|
@ -1,12 +1,9 @@
|
|||
const version = "2.0.1";
|
||||
const version = "2.0.2";
|
||||
import x2i from "./x2i";
|
||||
import { existsSync } from "fs";
|
||||
|
||||
const config = (existsSync("./config.json")) ? require("./config.json") : {};
|
||||
|
||||
console.log(process.env.MATRIXDEV_HOMESERVER);
|
||||
console.log(process.env.MATRIXDEV_TOKEN);
|
||||
|
||||
const MatrixClient = require("matrix-bot-sdk").MatrixClient;
|
||||
const AutojoinRoomsMixin = require("matrix-bot-sdk").AutojoinRoomsMixin;
|
||||
|
||||
|
|
|
@ -48,6 +48,7 @@ const matchType: { [key: string]: IMatchInstructions } = {
|
|||
keys: readKeys("./x2i/z2i-keys.yaml"),
|
||||
},
|
||||
i: {
|
||||
join: (_, match) => `|${match}|`,
|
||||
keys: readKeys("./x2i/i-keys.yaml"),
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue