Constructor
new ExtendedUser()
Properties:
| Name | Type | Attributes | Description |
|---|---|---|---|
email |
String
|
<nullable> |
The email of the user |
mfaEnabled |
Boolean
|
<nullable> |
Whether the user has enabled two-factor authentication |
premiumType |
Number
|
<nullable> |
The type of Nitro subscription on the user's account |
verified |
Boolean
|
<nullable> |
Whether the account email has been verified |
- Source:
Extends
Methods
dynamicAvatarURL(formatopt, sizeopt) → {String}
Get the user's avatar with the given format and size
- Overrides:
- Source:
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
format |
String
|
<optional> |
The filetype of the avatar ("jpg", "jpeg", "png", "gif", or "webp") |
size |
Number
|
<optional> |
The size of the avatar (any power of two between 16 and 4096) |
Returns:
- Type:
-
String
dynamicBannerURL(formatopt, sizeopt) → (nullable) {String}
Get the user's banner with the given format and size
- Overrides:
- Source:
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
format |
String
|
<optional> |
The filetype of the banner ("jpg", "jpeg", "png", "gif", or "webp") |
size |
Number
|
<optional> |
The size of the banner (any power of two between 16 and 4096) |
Returns:
- Type:
-
String