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

Method resolveSlashCommand

src/runtime/adapters/slack.ts:400–406  ·  view source on GitHub ↗
(commandName: string)

Source from the content-addressed store, hash-verified

398 return INLINE_COMMANDS[commandKey];
399 }
400
401 private resolveSlashCommand(commandName: string): BotCommand | undefined {
402 if (commandName === "/new") {
403 return "clear";
404 }
405
406 return SLASH_COMMANDS[commandName];
407 }
408
409 private resolveSlashCommandTarget(

Callers 1

handleSlashCommandMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected