This only picks up when the actual bot gets updated and not when other users update
client.on('guildMemberUpdate' ,(oldMember,newMember) => {
console.log(oldMember['_roles'])
console.log(newMember['_roles'])
});
question from:https://stackoverflow.com/questions/65945649/guildmemberupdate-event-only-occurs-when-bot-gets-updated