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

Function menuDescriptors

src/bot/commands.ts:168–170  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

166
167/** The list an adapter registers as the native `/` menu. */
168export function menuDescriptors(): { command: string; description: string }[] {
169 return COMMANDS.map(c => ({ command: c.name, description: c.description }));
170}
171
172function helpText(): string {
173 const cmds = COMMANDS.map(c => `\`/${c.name}\` — ${c.description}`).join('\n');

Callers 2

startMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected