MCPcopy Index your code
hub / github.com/CopilotKit/CopilotKit / onCommand

Method onCommand

packages/bot/src/create-bot.ts:223–223  ·  view source on GitHub ↗

Register a slash command (with optional typed options).

(command: BotCommand)

Source from the content-addressed store, hash-verified

221 ): void;
222 /** Register a slash command (with optional typed options). */
223 onCommand(command: BotCommand): void;
224 /** Register a free-text slash command by name. */
225 onCommand(
226 name: string,

Callers 3

create-bot.test.tsFile · 0.65
emitCommandMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected