mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
@@ -108,7 +108,7 @@ class User {
|
||||
* @param {Object} [options={}] Options for the avatar url
|
||||
* @param {string} [options.format='webp'] One of `webp`, `png`, `jpg`, `gif`. If no format is provided,
|
||||
* it will be `gif` for animated avatars or otherwise `webp`
|
||||
* @param {number} [options.size=128] One of `128`, '256', `512`, `1024`, `2048`
|
||||
* @param {number} [options.size=128] One of `128`, `256`, `512`, `1024`, `2048`
|
||||
* @returns {?string}
|
||||
*/
|
||||
avatarURL({ format, size } = {}) {
|
||||
|
||||
Reference in New Issue
Block a user