text: const { MessageEmbed } = require("discord.js");
  const db = require("quick.db");
  
  module.exports = {
      config: {
          name: "addmoney",
          aliases: ["am"],
          category: "economy",
          description: "Adds Money to a user",
          usage: "[ mention | ID]",
          accessableby: "Administrator, Owner"
      },
      run: async (bot, message, args) => {
          if (!message.member.hasPermission("ADMINISTRATOR")) return message.channel.send("<:iconfinder_signerror_299045:796376441751076865> You Do Not Have Permissions To Add Money! - [ADMINISTRATOR]");
          if (!args[0]) return message.channel.send("**Please Enter A User!**")
  
          let user = message.mentions.members.first() || message.guild.members.cache.get(args[0]) || message.guild.members.cache.find(r => r.user.username.toLowerCase() === args[0].toLocaleLowerCase()) || message.guild.members.cache.find(r => r.displayName.toLowerCase() === args[0].toLocaleLowerCase());
          if (!user) return message.channel.send("**Enter A Valid User!**")
          if (!args[1]) return message.channel.send("**Please Enter A Amount!**")
          if (isNaN(args[1])) return message.channel.send(`**<:iconfinder_signerror_299045:796376441751076865> Your Amount Is Not A Number!**`);
          if (args[0] > 10000) return message.channel.send("**Cannot Add That Much Amount!**")
          db.add(`money_${user.id}`, args[1])
          let bal = db.fetch(`money_${user.id}`)
  
          let moneyEmbed = new MessageEmbed()
              .setColor("GREEN")
              .setDescription(`<:tick:788102360936218685> Added ${args[1]} <a:coin:806862664037957662>\n\nNew Balance: ${bal} <a:coin:806862664037957662>`);
          message.channel.send(moneyEmbed)
  
      }
  }