mirror of
https://github.com/the-draupnir-project/Draupnir.git
synced 2026-05-24 00:05:16 +00:00
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:
@@ -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.
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user