title: Kick command isn't working after I mention a user
body: <p>I just coded a kick command. But after I mention a user, the bot doesn't send any messages and it doesn't kick the member.</p>
  <p>This is the code:</p>
  <pre class="lang-js prettyprint-override"><code>if (message.content==config.prefix+&quot;kick&quot;){
          if(!args[0]) return message.channel.send({ content: &quot;**You need to mention someone to kick!**&quot; })
          const kickMember = message.mentions.members.first() || message.guild.members.cache.get(args);
          const kickReason = args.slice(1).join(&quot; &quot;) || &quot;No reason identified&quot;;
          if(!message.members.permissions.has(&quot;KICK_MEMBERS&quot;)) return message.channel.send({ content: &quot;**You don't have permissions to kick a member...**&quot; })
          if(!message.guild.me.permissions.has(&quot;KICK_MEMBERS&quot;)) return message.channel.send({ content: &quot;**I don't have permissions to kick a member...**&quot; })
          
          if(!kickMember.kickable) return message.channel.send({ content: &quot;**This member isn't kickable, you need to lower their roles first!**&quot; })
          
          kickMember.kick({ reason: kickReason })
          const kickEmbed = new Discord.MessageEmbed()
          .setTitle(`${kickMember} has been kicked!`)
          .setDescription(`Reason: ${kickReason}`)
          message.channel.send({ embeds: [kickEmbed] })
      }
  </code></pre>
  <p>What can I do?</p>