MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / onMsg

Function onMsg

test/bot-commands.test.ts:8–8  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6/** Fake transport that also captures the native command-menu registration. */
7function fakeTransport() {
8 let onMsg: (m: Incoming) => void = () => {};
9 const sent: Array<{ text: string; buttons?: Button[][] }> = [];
10 let menu: { command: string; description: string }[] | null = null;
11 const t: Transport = {

Callers 1

injectFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected