purge command discord.js v12 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]);