We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 566d5e2 commit 485dd71Copy full SHA for 485dd71
packages/discord.js/src/structures/Presence.js
@@ -216,6 +216,13 @@ class Activity {
216
*/
217
this.party = data.party ?? null;
218
219
+ /**
220
+ * The sync id of the activity
221
+ * <info>This property is not documented by Discord and represents the track id in spotify activities.</info>
222
+ * @type {?string}
223
+ */
224
+ this.syncId = data.sync_id ?? null;
225
+
226
/**
227
* Assets for rich presence
228
* @type {?RichPresenceAssets}
packages/discord.js/typings/index.d.ts
@@ -264,6 +264,7 @@ export class Activity {
264
size: [number, number];
265
} | null;
266
public state: string | null;
267
+ public syncId: string | null;
268
public timestamps: {
269
start: Date | null;
270
end: Date | null;
0 commit comments