MCPcopy Index your code
hub / github.com/codebymitch/TitanBot / resolveCommandAlias

Function resolveCommandAlias

src/config/commandAliases.js:136–139  ·  view source on GitHub ↗
(commandName)

Source from the content-addressed store, hash-verified

134 * @returns {string} - The full command name, or the original if not an alias
135 */
136export function resolveCommandAlias(commandName) {
137 const normalized = commandName.toLowerCase();
138 return commandAliases[normalized] || commandName;
139}
140
141/**
142 * Resolve a subcommand alias to its full subcommand name

Callers 2

handlePrefixCommandFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected