MCPcopy Create free account
hub / github.com/CreminiAI/skillpack / sendOrUpdateSafe

Method sendOrUpdateSafe

src/runtime/adapters/slack.ts:529–541  ·  view source on GitHub ↗
(
    client: any,
    route: SlackRoute,
    text: string,
    placeholder?: SlackPostedMessage | null,
  )

Source from the content-addressed store, hash-verified

527 }
528
529 private async sendOrUpdateSafe(
530 client: any,
531 route: SlackRoute,
532 text: string,
533 placeholder?: SlackPostedMessage | null,
534 ): Promise<void> {
535 if (placeholder) {
536 await this.updateMessageSafe(client, route, placeholder.ts, text);
537 return;
538 }
539
540 await this.sendSafe(client, route, text);
541 }
542
543 private async sendPlaceholderMessage(
544 client: any,

Callers 1

runAgentMethod · 0.95

Calls 2

updateMessageSafeMethod · 0.95
sendSafeMethod · 0.95

Tested by

no test coverage detected