djs-selfbot-v13 3.7.24 → 3.7.25

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.24",
3
+ "version": "3.7.25",
4
4
  "description": "An unofficial discord.js fork for creating selfbots",
5
5
  "main": "./src/index.js",
6
6
  "types": "./typings/index.d.ts",
@@ -779,11 +779,8 @@ class ClientUser extends User {
779
779
  if (guildId) query.guild_id = guildId;
780
780
 
781
781
  const data = await this.client.api.users(userId).profile.get({ query });
782
-
783
- // Résoudre l'objet User
784
782
  const user = this.client.users._add(data.user);
785
783
 
786
- // Résoudre le GuildMember si présent
787
784
  let member = null;
788
785
  if (data.guild_member) {
789
786
  const resolvedGuildId = guildId ?? data.guild_member_profile?.guild_id;
@@ -796,7 +793,6 @@ class ClientUser extends User {
796
793
  }
797
794
  }
798
795
 
799
- // Résoudre les mutual friends en vrais User
800
796
  const mutualFriends = (data.mutual_friends ?? []).map(u => this.client.users._add(u));
801
797
 
802
798
  return {
@@ -179,6 +179,7 @@ class Presence extends Base {
179
179
  * * **`embedded`**
180
180
  * * **`ps4`**
181
181
  * * **`ps5`**
182
+ * * **`meta_quest`**
182
183
  * @typedef {string} ActivityPlatform
183
184
  */
184
185
 
@@ -5427,7 +5427,7 @@ export interface ActivityOptions {
5427
5427
  shardId?: number | readonly number[];
5428
5428
  }
5429
5429
 
5430
- export type ActivityPlatform = 'desktop' | 'samsung' | 'xbox' | 'ios' | 'android' | 'embedded' | 'ps4' | 'ps5';
5430
+ export type ActivityPlatform = 'desktop' | 'samsung' | 'xbox' | 'ios' | 'android' | 'embedded' | 'ps4' | 'ps5' | 'meta_quest';
5431
5431
 
5432
5432
  export type ActivityType = keyof typeof ActivityTypes;
5433
5433