check if messafe was sent by a bot discord.js code example Example: how to check if a user sent a message in discord js if(message.author.id === client.user.id) return;