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
|
@@ -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 {
|
package/typings/index.d.ts
CHANGED
|
@@ -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
|
|