check if message from bot discord.js code example Example: msg author is a bot if(message.author.id === client.user.id) return;