Answers for "how to send dm to every member in discord with discord.js"

0

how to send dm to every member in discord with discord.js

if(checkCommandSusan(message, "notify"))   {
message.guild.members.forEach(m => {
if(m.roles.includes(r => r.name === "role name") return m.send("message")

})     
})         
}
Posted by: Guest on April-25-2020

Code answers related to "how to send dm to every member in discord with discord.js"

Code answers related to "Javascript"

Browse Popular Code Answers by Language