parent
463d626b65
commit
51bcf3d12e
@ -12,9 +12,6 @@
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
## Words from the Developer
|
|
||||||
- I'm on vacation so the library won't update much :3
|
|
||||||
|
|
||||||
## About
|
## About
|
||||||
|
|
||||||
<strong>Welcome to `discord.js-selfbot-v13@v2.14`, based on `discord.js@13.16`</strong>
|
<strong>Welcome to `discord.js-selfbot-v13@v2.14`, based on `discord.js@13.16`</strong>
|
||||||
|
@ -48,6 +48,7 @@ class ClientUser extends User {
|
|||||||
*/
|
*/
|
||||||
this.nitroType = nitro ?? `UNKNOWN_TYPE_${data.premium_type}`;
|
this.nitroType = nitro ?? `UNKNOWN_TYPE_${data.premium_type}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ('purchased_flags' in data) {
|
if ('purchased_flags' in data) {
|
||||||
/**
|
/**
|
||||||
* Purchased state of the client user.
|
* Purchased state of the client user.
|
||||||
@ -55,6 +56,7 @@ class ClientUser extends User {
|
|||||||
*/
|
*/
|
||||||
this.purchasedFlags = new PurchasedFlags(data.purchased_flags || 0);
|
this.purchasedFlags = new PurchasedFlags(data.purchased_flags || 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ('premium_usage_flags' in data) {
|
if ('premium_usage_flags' in data) {
|
||||||
/**
|
/**
|
||||||
* Premium usage state of the client user.
|
* Premium usage state of the client user.
|
||||||
@ -62,7 +64,7 @@ class ClientUser extends User {
|
|||||||
*/
|
*/
|
||||||
this.premiumUsageFlags = new PremiumUsageFlags(data.premium_usage_flags || 0);
|
this.premiumUsageFlags = new PremiumUsageFlags(data.premium_usage_flags || 0);
|
||||||
}
|
}
|
||||||
// Key: premium = boolean;
|
|
||||||
if ('phone' in data) {
|
if ('phone' in data) {
|
||||||
/**
|
/**
|
||||||
* Phone number of the client user.
|
* Phone number of the client user.
|
||||||
@ -70,6 +72,7 @@ class ClientUser extends User {
|
|||||||
*/
|
*/
|
||||||
this.phoneNumber = data.phone;
|
this.phoneNumber = data.phone;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ('nsfw_allowed' in data) {
|
if ('nsfw_allowed' in data) {
|
||||||
/**
|
/**
|
||||||
* Whether or not the client user is allowed to send NSFW messages [iOS device].
|
* Whether or not the client user is allowed to send NSFW messages [iOS device].
|
||||||
@ -77,6 +80,7 @@ class ClientUser extends User {
|
|||||||
*/
|
*/
|
||||||
this.nsfwAllowed = data.nsfw_allowed;
|
this.nsfwAllowed = data.nsfw_allowed;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ('email' in data) {
|
if ('email' in data) {
|
||||||
/**
|
/**
|
||||||
* Email address of the client user.
|
* Email address of the client user.
|
||||||
@ -84,9 +88,11 @@ class ClientUser extends User {
|
|||||||
*/
|
*/
|
||||||
this.emailAddress = data.email;
|
this.emailAddress = data.email;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ('bio' in data) {
|
if ('bio' in data) {
|
||||||
this.bio = data.bio;
|
this.bio = data.bio;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ('pronouns' in data) {
|
if ('pronouns' in data) {
|
||||||
this.pronouns = data.pronouns;
|
this.pronouns = data.pronouns;
|
||||||
}
|
}
|
||||||
|
@ -300,6 +300,8 @@ class User extends Base {
|
|||||||
* @type {?Array<number>}
|
* @type {?Array<number>}
|
||||||
*/
|
*/
|
||||||
this.themeColors = data.user_profile.theme_colors;
|
this.themeColors = data.user_profile.theme_colors;
|
||||||
|
|
||||||
|
this.pronouns = data.user_profile.pronouns;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ('guild_member_profile' in data && 'guild_member' in data) {
|
if ('guild_member_profile' in data && 'guild_member' in data) {
|
||||||
|
Loading…
Reference in New Issue
Block a user