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

Function inject

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

Source from the content-addressed store, hash-verified

17 setCommands: async (c) => { menu = c; },
18 };
19 const inject = (text: string) => onMsg({ platform: 'telegram', chatId: 'c1', userId: 'u1', text } as Incoming);
20 return { t, sent, inject, get menu() { return menu; } };
21}
22

Callers 1

Calls 1

onMsgFunction · 0.70

Tested by

no test coverage detected