clearchat discord js code example
Example: discord.js clean content
//if you purposely searched CLEAN CONTENT, then here's an example I use.
//Usually used when awaiting a message from a user IF the answer isn't supposed to be specific like "Yes" or "No"
let txt1 = args.join(' ')
if (collected.first(txt1)) {
let text1 = collected.first().cleanContent
return message.channel.send(text1);
}