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

Function isProtectedCommand

src/services/commandAccessService.js:107–109  ·  view source on GitHub ↗
(commandName)

Source from the content-addressed store, hash-verified

105}
106
107export function isProtectedCommand(commandName) {
108 return PROTECTED_COMMANDS.has(String(commandName || '').toLowerCase());
109}
110
111export function isCommandEnabledInConfig(config, commandName, category) {
112 const normalizedName = String(commandName || '').toLowerCase();

Callers 3

autocompleteFunction · 0.90
isCommandEnabledInConfigFunction · 0.85
disableCommandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected