Discord.js проверьте, находится ли участник на сервере

// guild = server
let guild = client.guilds.get('guild ID here'),
  USER_ID = '123123123';

if (guild.member(USER_ID)) {
  // there is a member in this guild with that ID
}
Frightened Fish