title: ReferenceError: Discord is not defined; just when trying to kick
body: <p>I can't kick anyone with my discord bot because os this happening, idk why.
  This is what I get in my console:</p>
  
  <pre>ReferenceError: Discord is not defined
      at Object.execute (C:\Users\alber\OneDrive\Escritorio\Bot discord\commands\kick.js:17:21)
      at Client. (C:\Users\alber\OneDrive\Escritorio\Bot discord\index.js:34:15)
      at Client.emit (events.js:310:20)
      at MessageCreateAction.handle (C:\Users\alber\OneDrive\Escritorio\Bot discord\node_modules\discord.js\src\client\actions\MessageCreate.js:31:14)
  ebsocket\handlers\MESSAGE_CREATE.js:4:32)
      at WebSocketManager.handlePacket (C:\Users\alber\OneDrive\Escritorio\Bot discord\node_modules\discord.js\src\client\websocket\WebSocketManager.js:386:31)
      at WebSocketShard.onPacket (C:\Users\alber\OneDrive\Escritorio\Bot discord\node_modules\discord.js\src\client\websocket\WebSocketShard.js:436:22)
      at WebSocketShard.onMessage (C:\Users\alber\OneDrive\Escritorio\Bot discord\node_modules\discord.js\src\client\websocket\WebSocketShard.js:293:10)
      at WebSocket.onMessage (C:\Users\alber\OneDrive\Escritorio\Bot discord\node_modules\ws\lib\event-target.js:120:16)
      at WebSocket.emit (events.js:310:20)</pre>
  
  <p>And this is part of the code:</p>
  
  <pre><code>const fs = require('fs');
  const Discord = require('discord.js')
  const { prefix, token } = require('./config.json');
  
  const client = new Discord.Client();
  client.commands = new Discord.Collection();
  
  const commandFiles = fs.readdirSync('./commands').filter(file =&gt; file.endsWith('.js'));
  
  for (const file of commandFiles) {
      const command = require(`./commands/${file}`);
      client.commands.set(command.name, command);
  }
  </code></pre>
  
  <p>And this is the kick command that doesn't work (it only breaks when it should ban someone, the rest works):</p>
  
  <pre><code>module.exports = {
      name: 'kick',
      description: 'kicks the mentioned user',
      execute(client, message, args){
      var kickUser = message.guild.member(message.mentions.users.first() || message.guild.members.fetch(args[0]))    
      if(!kickUser){
          return message.reply('¿no tageas a nadie? Kickear paraguayos es malardo.')
      }
      var kickReason = args.join(' ').slice(22)
      if(!message.member.hasPermission(['KICK_MEMBERS'])){
          return message.reply('enséñame los permisos que los vea yo que parece que no tienes.s')
      }
      if(kickUser.hasPermission(['KICK_MEMBERS'])){
          return message.reply('no puedes echar a alguien con permisos de admin.')
      }
  
      var kickEmbed = new Discord.RichEmbed()    
      .setDescription('Kick')
      .setColor('#35d4a7')
      .addField('Server', guild.name)
      .addField('Kickeado por', `@${message.author.id}`)
      .addField('A las', message.createdTimestamp)
      .addField('Motivo', kickReason)
  
      message.guild.member(kickUser).kick(kickReason)
      kickUser.send(kickEmbed)
      },
  };
  </code></pre>