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

Interface BotCommand

src/bot/commands.ts:37–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37export interface BotCommand {
38 /** Without the leading slash, e.g. `new`. */
39 name: string;
40 /** One line, shown in the native `/` menu and in `/help`. Keep < ~60 chars (Telegram limit). */
41 description: string;
42 run(ctx: CommandCtx): Promise<void>;
43}
44
45const NA = (feature: string) => `ℹ️ ${feature} isn't available on this bot build.`;
46const truncate = (s: string, n: number): string => { s = s.replace(/\s+/g, ' ').trim(); return s.length > n ? s.slice(0, n - 1) + '…' : s; };

Callers 8

schedule.test.tsFile · 0.65
mainFunction · 0.65
executeMethod · 0.65
executeMethod · 0.65
recordToolMethod · 0.65
recordLlmMethod · 0.65

Implementers 2

DagSchedulersrc/orchestration/scheduler.ts
AgentLoopsrc/agent/loop.ts

Calls

no outgoing calls

Tested by

no test coverage detected