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

Function normalizeCommandCategory

src/utils/abuseProtection.js:42–44  ·  view source on GitHub ↗
(command)

Source from the content-addressed store, hash-verified

40const blockedAttemptStore = new Map();
41
42function normalizeCommandCategory(command) {
43 return String(command?.category || '').trim().toLowerCase();
44}
45
46function normalizeCommandName(commandName) {
47 return String(commandName || '').trim().toLowerCase();

Callers 1

isRiskyCommandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected