how to check if message is in dms discord.js code example
Example: see if discord message is in dm discord.js
if(message.channel.type === 'dm'){
message.channel.send("Pog");
}
if(message.channel.type === 'dm'){
message.channel.send("Pog");
}