Introduce the interface manager as a sub library.

This will want splitting out for other matrix bots to use eventually.
MatrixInterfaceCommand needs decoupling from Mjolnir and then it will
be added too.
This commit is contained in:
gnuxie authored and gnuxie committed 2023-01-14 18:26:12 +00:00
1 parent 722a36a358
commit 9e1cf659d2
5 files changed
+3 -3

No files matched your search

@@ -4,7 +4,7 @@
*/
import { UserID } from "matrix-bot-sdk";
import { MatrixRoomReference } from "../models/MatrixRoomReference";
import { MatrixRoomReference } from "./MatrixRoomReference";
/**
* Helper for peeking and reading character by character.
File renamed without changes.
+2 -2
View File
@@ -1,6 +1,6 @@
import expect from "expect";
import { Keyword, readCommand, ReadItem } from "../../src/commands/CommandReader";
import { MatrixRoomReference } from "../../src/models/MatrixRoomReference";
import { Keyword, readCommand, ReadItem } from "../../src/commands/interface-manager/CommandReader";
import { MatrixRoomReference } from "../../src/commands/interface-manager/MatrixRoomReference";
describe("Can read", function() {
it("Can read a simple command with only strings", function() {