📜  discord.js 干净的内容 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:48.100000             🧑  作者: Mango

代码示例1
//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);
                      }