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

Function saveOnlyAdminData

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

Source from the content-addressed store, hash-verified

14
15// Save data to JSON file
16function saveOnlyAdminData(data) {
17 fs.writeFileSync(filePath, JSON.stringify([...data], null, 2));
18}
19
20const onlyAdminGroups = loadOnlyAdminData();
21

Callers 2

addGroupToOnlyAdminListFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected