title: Remove a value from a json file
body: <p>Heyy ! I want to make a unwhitelist command, if user is mentionned or you give the id, it will remove the id from the json file (it don't check if there is the id), do you have any idea for remove the id ?
  I use discord.js v13.6.0</p>
  <p>my code:</p>
  <pre class="lang-js prettyprint-override"><code>if (message.content.startsWith(prefix + &quot;unwhitelist&quot;)){
    if (!args[0]) return message.edit(&quot;:x: **Veuillez mentionner quelqu'un**&quot;)
    let user = message.mentions.users.first() || client.users.cache.get(args[0])
    if (!user) return message.edit(&quot;:x: **Veuillez mentionner quelqu'un**&quot;)
  delete crow[&quot;users&quot;][user.id]
  savecrow()
  message.edit(&quot;`&quot;+user+&quot;` n'est plus whitelist&quot;)
  } 
  </code></pre>
  <p>and the json file is like that:</p>
  <pre class="lang-json prettyprint-override"><code>{&quot;users&quot;: [&quot;user1&quot;,&quot;user2&quot;]}
  </code></pre>