text: const config = require("../config.json");
  const Discord = require("discord.js");
  const client = new Discord.Client();
  const db = require('quick.db')
  module.exports = {
    name: "pay", // Command Name
    description: "List all of my commands/info about a specific command.", // Description
    aliases: ["lb"], // Aliases
    usage: "<user>", // Usage
    cooldown: 0, // Cooldown In Seconds
    guildOnly: false, // If Command In DMs return
    admin: false, // Bot Admin only
    async execute(message, args, client) {    
        let prefix = config.prefix
  
        
    let user = message.mentions.members.first() 
  
    let member = db.fetch(`money_${message.guild.id}_${message.author.id}`)
  
    let embed1 = new Discord.MessageEmbed()
    .setColor("#FFFFFF")
    .setDescription(`:no_entry: Mention someone to pay`);
  
    if (!user) {
        return message.channel.send(embed1)
    }
    let embed2 = new Discord.MessageEmbed()
    .setColor("#FFFFFF")
    .setDescription(`:no_entry:  Specify an amount to pay`);
    
    if (!args[1]) {
        return message.channel.send(embed2)
    }
    let embed3 = new Discord.MessageEmbed()
    .setColor("#FFFFFF")
    .setDescription(`:no_entry: You can't pay someone negative money`);
  
    if (message.content.includes('-')) { 
        return message.channel.send(embed3)
    }
    let embed4 = new Discord.MessageEmbed()
    .setColor("#FFFFFF")
    .setDescription(`:no_entry: You don't have that much money`);
  
    if (member < args[1]) {
        return message.channel.send(embed4)
    }
  
    let embed5 = new Discord.MessageEmbed()
    .setColor("#FFFFFF")
    .setDescription(`:white_check_mark:  You have payed ${user.user.username} ${args[1]} coins`);
  
    message.channel.send(embed5)
    db.add(`money_${message.guild.id}_${user.id}`, args[1])
    db.subtract(`money_${message.guild.id}_${message.author.id}`, args[1])
  
  }
  }