title: Ban Command in Discord.js won't Compile
body: <p>I have a command which bans a user. I have tried changing the last part to several different variations yet if I try modChannel.message.send, it throws the error "modChannel already defined." I'm not sure what else to do.</p>
  
  <pre><code>
  module.exports = {
    name: "ban",
    description: "Ban the troublesome users!",
  
    execute(message, args) {
          let member = message.mentions.user.first();
      if(!message.member.roles.some(r=&gt;["Administrator"].includes(r.name))) {
        return message.channel.send("You don't have the permissions to use this command!");
      }
      if(!member.bannable) {
        return message.channel.send("I can\'t ban this person. Please try again. Make sure I have ban permissions.");
      }
  
      let reason = args.slice(7).join(" ");
      if(!reason) {
        reason = "No reason was provided.";
      }
  
      let modChannel = client.guilds.find(ch =&gt; ch.name === "mod-log");
      const banEmbed = {
        color: 225,
        title: "User Banned",
        description: `**User**: ${member.username}#${member.discriminator} (${member.id})
        **Reason**: ${reason}
        **Banned By**: ${message.author.username}#${message.author.discriminator}`,
      },
  
        modChannel.send({embed: banEmbed });
  },
  };
  </code></pre>