if message is from user id then discord.js code example Example: how to check if a user sent a message in discord js Click to copyif(message.author.id === client.user.id) return;