see if discord message is in dm discord.js
snippet in javascript

see if discord message is in dm discord.js

user7890

if(message.channel.type === 'dm'){
	message.channel.send("Pog");
}