text: const fs = require('fs')
  let _level = JSON.parse(fs.readFileSync('./lib/rpg/leveluser.json'))
     
     
  		const getLevelingXp = (sender) => {
              let position = false
              Object.keys(_level).forEach((i) => {
                  if (_level[i].id === sender) {
                      position = i
                  }
              })
              if (position !== false) {
                  return _level[position].xp
              }
          }
  
          const getLevelingLevel = (sender) => {
              let position = false
              Object.keys(_level).forEach((i) => {
                  if (_level[i].id === sender) {
                      position = i
                  }
              })
              if (position !== false) {
                  return _level[position].level
              }
          }
  
          const getLevelingId = (sender) => {
              let position = false
              Object.keys(_level).forEach((i) => {
                  if (_level[i].id === sender) {
                      position = i
                  }
              })
              if (position !== false) {
                  return _level[position].id
              }
          }
  
          const addLevelingXp = (sender, amount) => {
              let position = false
              Object.keys(_level).forEach((i) => {
                  if (_level[i].id === sender) {
                      position = i
                  }
              })
              if (position !== false) {
                  _level[position].xp += amount
                  fs.writeFileSync('./lib/rpg/leveluser.json', JSON.stringify(_level))
              }
          }
  
          const addLevelingLevel = (sender, amount) => {
              let position = false
              Object.keys(_level).forEach((i) => {
                  if (_level[i].id === sender) {
                      position = i
                  }
              })
              if (position !== false) {
                  _level[position].level += amount
                  fs.writeFileSync('./lib/rpg/leveluser.json', JSON.stringify(_level))
              }
          }
  
          const addLevelingId = (sender) => {
              const obj = {id: sender, xp: 1, level: 1}
              _level.push(obj)
              fs.writeFileSync('./lib/rpg/leveluser.json', JSON.stringify(_level))
          }
          
  module.exports = { addLevelingId, addLevelingLevel, addLevelingXp, getLevelingId, getLevelingLevel, getLevelingXp }