exports.run = async(client, msg, args) => {
  let messagecount = parseInt(args.join(' '));
 /*
  Check if msg is higher or lower then the limits
 */
    if (!messagecount) {
        return msg.reply('How many messages?');
    }
    if (messagecount > 100) {
        return msg.reply(`Purge has limits: you cant delete 101 messages per purge`);
    }
    /*
    Actual purge
    */
    let ms;
    if (messagecount === 1) {
        ms = 2;
    } else {
        ms = messagecount;
    }
    msg.channel.fetchMessages({limit: messagecount}).then(async messages => {
      msg.channel.bulkDelete(ms)
      let promise = await msg.channel.send(`Deleted ${messagecount}`)
      promise.delete({
        time: 2.5 * 1000
      })
    })
  .catch(err => {
      logger.error(err, msg.channel.send('I cant delete msg that are older than a 14 days'));
  })
  .catch(e => logger.error(e));
};

exports.help = {
    category   : 'util',
    usage      : '[amount:integer]',
    description: 'I will delete the amount of messages you want',
    detail     : 'When using purge the bot delete the amount of requested messages',
    botPerm    : ['MANAGE_MESSAGES', "SEND_MESSAGES"],
    authorPerm : ['MANAGE_MESSAGES', "SEND_MESSAGES"],
    alias      : [
        'pur'
    ]
};

@@ -75,18 +75,12 @@
 args
-.join(' ')
+, 10
 );%0A 
@@ -587,135 +587,8 @@
 ms)%0A
-      let promise = await msg.channel.send(%60Deleted $%7Bmessagecount%7D%60)%0A      promise.delete(%7B%0A        time: 2.5 * 1000%0A      %7D)%0A
     
@@ -743,12 +743,153 @@
 ));%0A
+  setTimeout(function () %7B%0A    let promise = msg.channel.send(%60Deleted %5C%60$%7Bmessagecount%7D%5C%60 messages%60).then(m =%3E m.delete(1500))%0A  %7D, 1500);%0A
 %7D;%0A%0A
+%0A
 expo

Purge fully functional