djs-selfbot-v13 3.7.19 → 3.7.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "djs-selfbot-v13",
3
- "version": "3.7.19",
3
+ "version": "3.7.21",
4
4
  "description": "An unofficial discord.js fork for creating selfbots",
5
5
  "main": "./src/index.js",
6
6
  "types": "./typings/index.d.ts",
@@ -465,7 +465,6 @@ class User extends Base {
465
465
  this.globalName === user.global_name &&
466
466
  this.avatar === user.avatar &&
467
467
  this.flags?.bitfield === user.public_flags &&
468
- ('bio' in data ? this.bio = data.bio : true)
469
468
  ('banner' in user ? this.banner === user.banner : true) &&
470
469
  ('accent_color' in user ? this.accentColor === user.accent_color : true) &&
471
470
  ('avatar_decoration_data' in user
@@ -1003,22 +1003,9 @@ export interface FetchUserProfileOptions {
1003
1003
  }
1004
1004
 
1005
1005
  export interface UserProfile {
1006
- user: {
1007
- id: Snowflake;
1008
- username: string;
1009
- globalName: string | null;
1010
- avatar: string | null;
1011
- avatarDecorationData: AvatarDecorationData | null;
1012
- discriminator: string;
1013
- publicFlags: number;
1014
- primaryGuild: UserPrimaryGuild | null;
1015
- banner: string | null;
1016
- bannerColor: string | null;
1017
- accentColor: number | null;
1018
- bio: string | null;
1019
- displayNameStyles: { font_id: number; effect_id: number; colors: number[] } | null;
1020
- collectibles: Collectibles | null;
1021
- };
1006
+ user: User;
1007
+ member: GuildMember | null;
1008
+ mutualFriends: User[];
1022
1009
  profile: {
1023
1010
  bio: string | null;
1024
1011
  accentColor: number | null;
@@ -1034,24 +1021,9 @@ export interface UserProfile {
1034
1021
  badges: { id: string; description: string; icon: string; link?: string }[];
1035
1022
  guildBadges: unknown[];
1036
1023
  connectedAccounts: { type: string; id: string; name: string; verified: boolean }[];
1037
- mutualFriends: unknown[];
1038
1024
  mutualFriendsCount: number;
1039
1025
  mutualGuilds: { id: Snowflake; nick: string | null }[];
1040
1026
  widgets: unknown[];
1041
- guildMember: {
1042
- avatar: string | null;
1043
- banner: string | null;
1044
- nick: string | null;
1045
- roles: Snowflake[];
1046
- joinedAt: Date | null;
1047
- premiumSince: Date | null;
1048
- pending: boolean;
1049
- flags: number;
1050
- communicationDisabledUntil: Date | null;
1051
- bio: string | null;
1052
- mute: boolean;
1053
- deaf: boolean;
1054
- } | null;
1055
1027
  guildMemberProfile: {
1056
1028
  guildId: Snowflake;
1057
1029
  bio: string | null;