MCPcopy Create free account
hub / github.com/Slayer128/Carltech-Bot / saveMentionData

Function saveMentionData

lib/mention.js:18–20  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

16
17// Save data to the JSON file
18function saveMentionData(data) {
19 fs.writeFileSync(filePath, JSON.stringify(data, null, 2));
20}
21
22// Create the default file if it doesn't exist
23if (!fs.existsSync(filePath)) {

Callers 4

mention.jsFile · 0.85
addOrUpdateDataInMentionFunction · 0.85
updateStatusForMentionFunction · 0.85
removeFromMentionListFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected