how to get client.user.avatar

JavaScript
client.user.displayAvatarURL()
Source

Also in JavaScript: