diff --git a/packages/discord.js/src/structures/Presence.js b/packages/discord.js/src/structures/Presence.js index 85b47c85b..7b52a3caa 100644 --- a/packages/discord.js/src/structures/Presence.js +++ b/packages/discord.js/src/structures/Presence.js @@ -143,12 +143,6 @@ class Activity { constructor(presence, data) { Object.defineProperty(this, 'presence', { value: presence }); - /** - * The activity's id - * @type {string} - */ - this.id = data.id; - /** * The activity's name * @type {string} @@ -203,18 +197,6 @@ class Activity { } : null; - /** - * The Spotify song's id - * @type {?string} - */ - this.syncId = data.sync_id ?? null; - - /** - * The platform the game is being played on - * @type {?string} - */ - this.platform = data.platform ?? null; - /** * Represents a party of an activity * @typedef {Object} ActivityParty @@ -246,12 +228,6 @@ class Activity { */ this.emoji = data.emoji ? new Emoji(presence.client, data.emoji) : null; - /** - * The game's or Spotify session's id - * @type {?string} - */ - this.sessionId = data.session_id ?? null; - /** * The labels of the buttons of this rich presence * @type {string[]} diff --git a/packages/discord.js/typings/index.d.ts b/packages/discord.js/typings/index.d.ts index 9b725a9fc..dee957a23 100644 --- a/packages/discord.js/typings/index.d.ts +++ b/packages/discord.js/typings/index.d.ts @@ -194,16 +194,12 @@ export class Activity { public details: string | null; public emoji: Emoji | null; public flags: Readonly; - public id: string; public name: string; public party: { id: string | null; size: [number, number]; } | null; - public platform: string | null; - public sessionId: string | null; public state: string | null; - public syncId: string | null; public timestamps: { start: Date | null; end: Date | null;