Try: user.displayAvatarURL({size: 2048})
displayAvatarURL() method is better than avatarURL() because it also shows user's avatar if they have discord default one.
https://discord.js.org/#/docs/main/stable/class/User?scrollTo=displayAvatarURL
The MessageEmbedImage
object has a height
and width
property you can set. For more information on embed image objects, visit here
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.