// Deprecated soon FileSys.readFile(autoRoleDir, 'utf-8', (err, data) => { if (err) throw err; if (data.length > 0) { const tempObj = JSON.parse(data); for (const [key] of Object.entries(tempObj)) { exports.autoRoles[key] = tempObj[key]; } } Object.defineProperty(exports.autoRoles, '__name', { value: 'autoRoles', enumerable: false, writable: false, }); Object.defineProperty(exports.autoRoles, '__path', { value: autoRoleDir, enumerable: false, writable: false, }); exports.loadedData[exports.autoRoles] = true; });