twitch2ma
Version:
Twitch chat bot that runs commands on the MA GrandMA2 using Telnet.
14 lines • 688 B
TypeScript
import { EventEmitter } from "@d-fischer/typed-event-emitter";
export declare class SocketError extends Error {
constructor(message: string);
}
export declare class CommandSocket extends EventEmitter {
constructor();
start(): Promise<void>;
stop(): void;
checkSocketExists(): Promise<unknown>;
onExitCommand: (handler: () => any) => import("@d-fischer/typed-event-emitter/lib").Listener;
onReloadConfigCommand: (handler: (newConfigFile: string) => any) => import("@d-fischer/typed-event-emitter/lib").Listener;
onError: (handler: (error: Error) => any) => import("@d-fischer/typed-event-emitter/lib").Listener;
}
//# sourceMappingURL=CommandSocket.d.ts.map