text: const Discord = require("discord.js");
  const { inspect } = require("util");
  
  exports.run = (client, message, args) => {
    const settings = message.settings;
    const reason = args.slice(1).join(" ");
    const user = message.mentions.users.first(); // User = first user mentioned
    inspect((settings), {code: "json"});
    const modlog = client.channels.find("name", settings.modLogChannel);
    if (!modlog) return message.reply("I cannot find a mod-log channel");
    if (reason.length < 1) return message.reply("You must supply a reason for the ban.");
    if (message.mentions.users.size < 1) return message.reply("You must mention someone to ban them.").catch(console.error);
  
    if (!message.guild.member(user).bannable) return message.reply("I cannot ban that member.");
    message.guild.ban(user, 2);
  
    const embed = new Discord.RichEmbed()
      .setColor("#FF4848")
      .setTimestamp()
      .setDescription(`**Action:** Ban\n**Target:** ${user.tag}\n**Moderator:** ${message.author.tag}\n**Reason:** ${reason}`);
    return client.channels.get(modlog.id).send({embed});
  };
  
  exports.conf = {
    enabled: true,
    guildOnly: false,
    aliases: [],
    permLevel: "Moderator"
  };
  
  exports.help = {
    name: "ban",
    category: "Moderation",
    description: "Bans the mentioned user.",
    usage: "ban [mention] [reason]"
  };
  