how to see if a server has a member with a specific id discord.js code example
Example: discord.js check if member is in server
// 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
}