title: MongoDB | discord.js Add-Money Command Not Working
body: <p>i am making A Discord.js Add-money command but its having a Wierd bug, Whever i execute this command <code>?add-money 1</code> then it perfectly works fine but when i execute it again by typing <code>?add-money 1</code> then instead of it to make my balance to 2 it makes it to 11 which literally makes no Sense, please help with my problem.</p>
  <p>here is the code:</p>
  <pre><code>const { MessageEmbed, MessageButton, MessageActionRow } = require(`discord.js`);
  const ee = require(`../../botconfig/embed.json`);
  const User = require(&quot;../../models/user.js&quot;)
  module.exports = {
      name: `add-money`,
      run: async (client, message, args) =&gt; {
         if(!message.member.permissions.has(&quot;ADMINISTRATOR&quot;) return message.channel.send(&quot;You Dont Have Required Perms to Run This Command!&quot;)
          let user = await User.findOne({ id: message.author.id })
          if(!user) return message.channel.send(`You Dont own a Account yet!`)
          let amount = args[0]
            if(Number.isNaN(+amount)) return message.channel.send(`The amount is Not A Number!`)
            user.coins = user.coins + amount
            await user.save()
            return message.channel.send(`You added ${amount} to your balance!`)
      }
  }
  </code></pre>
  <p>Here is My Mongoose Model:</p>
  <pre><code>const mongoose = require(&quot;mongoose&quot;);
  
  const UserSchema = new mongoose.Schema({
      id: { type: String, required: true },
      coins: { type: Number, default: 0 },
  });
  
  module.exports = mongoose.model(&quot;User&quot;, UserSchema);
  </code></pre>