Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

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);
                      }
 
PREVIOUS NEXT
Tagged: #clean #content
ADD COMMENT
Topic
Name
3+8 =