const chalk = require('chalk');
exports.run = function(client, message, args) {
  var players = 0;
  let param = args.join(' ');
	console.log(chalk.bgRed('Drop command used!'));
    if (param <= 0 || param == null){
      message.channel.sendMessage('**Please input player number after *drop. E.g. "*drop 4"**')
    } else {
      var randNum = Math.floor((Math.random() * param) + 1)
      message.channel.sendMessage('\`\`\`markdown\nWinner was:\n# Player: ' + randNum + '!\n\`\`\`' )
    }
 };

