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

Function resolveSubcommandAlias

src/config/commandAliases.js:146–149  ·  view source on GitHub ↗
(subcommandName)

Source from the content-addressed store, hash-verified

144 * @returns {string} - The full subcommand name, or the original if not an alias
145 */
146export function resolveSubcommandAlias(subcommandName) {
147 const normalized = subcommandName.toLowerCase();
148 return subcommandAliases[normalized] || subcommandName;
149}

Callers 3

mapArgumentsToOptionsFunction · 0.90
getPrefixRestrictionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected