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

Method emitCommand

packages/bot/src/testing/fake-adapter.ts:300–310  ·  view source on GitHub ↗
(
    partial: Partial<IncomingCommand> & { command: string },
  )

Source from the content-addressed store, hash-verified

298 void this.sink?.onInteraction(evt);
299 }
300 emitCommand(
301 partial: Partial<IncomingCommand> & { command: string },
302 ): Promise<void> | void {
303 return this.sink?.onCommand({
304 text: "",
305 conversationKey: "c",
306 replyTarget: {},
307 platform: "fake",
308 ...partial,
309 });
310 }
311 emitReaction(
312 partial: Partial<IncomingReaction> & { rawEmoji: string },
313 ): Promise<void> | void {

Callers 2

create-bot.test.tsFile · 0.80

Calls 1

onCommandMethod · 0.65

Tested by

no test coverage detected