discord purge messages command in js code example
Example: discord.js purge
case 'clear':
if(!args[1]) return message.reply ('Error, please define second argument')
message.channel.bulkDelete(args[1]);
case 'clear':
if(!args[1]) return message.reply ('Error, please define second argument')
message.channel.bulkDelete(args[1]);