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

Function getNoteTypeInfo

src/commands/Moderation/usernotes.js:268–277  ·  view source on GitHub ↗
(type)

Source from the content-addressed store, hash-verified

266}
267
268function getNoteTypeInfo(type) {
269 const types = {
270 warning: { emoji: "⚠️", color: "#FF6B6B" },
271 positive: { emoji: "✅", color: "#51CF66" },
272 neutral: { emoji: "📝", color: "#74C0FC" },
273 alert: { emoji: "🚨", color: "#FFD43B" }
274 };
275
276 return types[type] || types.neutral;
277}

Callers 3

handleAddNoteFunction · 0.85
handleViewNotesFunction · 0.85
handleRemoveNoteFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected