mirror of
https://github.com/danbulant/discord.js
synced 2026-06-08 01:01:30 +00:00
parent
ecb8424f52
commit
35e8601b3a
1 changed files with 1 additions and 1 deletions
|
|
@ -108,7 +108,7 @@ class User {
|
||||||
* @param {Object} [options={}] Options for the avatar url
|
* @param {Object} [options={}] Options for the avatar url
|
||||||
* @param {string} [options.format='webp'] One of `webp`, `png`, `jpg`, `gif`. If no format is provided,
|
* @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`
|
* 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}
|
* @returns {?string}
|
||||||
*/
|
*/
|
||||||
avatarURL({ format, size } = {}) {
|
avatarURL({ format, size } = {}) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue