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

Method isSupportedMentionEvent

src/runtime/adapters/slack.ts:453–459  ·  view source on GitHub ↗
(event: any)

Source from the content-addressed store, hash-verified

451 return true;
452 }
453
454 private isSupportedMentionEvent(event: any): boolean {
455 if (!event || event.type !== "app_mention") return false;
456 if (event.subtype) return false;
457 if (event.bot_id) return false;
458 if (!event.user || typeof event.text !== "string") return false;
459 return true;
460 }
461
462 private stripBotMention(text: string): string {

Callers 1

handleMentionMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected