Reputation:
The issue I am having is that every time I make the bot display someones avatar its significantly smaller to what other bots display like Dyno and sx4. Example:
How would I make the image bigger?(my bot is the one named "Azrael")
Upvotes: 0
Views: 4695
Reputation: 114
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
Upvotes: 3
Reputation: 8402
The MessageEmbedImage
object has a height
and width
property you can set. For more information on embed image objects, visit here
Upvotes: 1