summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-12-19 20:50:36 +1100
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-12-19 20:50:36 +1100
commitf5671775ef02b1700c1d9a621546a8b28f977ef4 (patch)
tree7b36a3e54f7165dc2e74aa6e9cd8760301e7aba3 /src
parentflags related rights and stats api (diff)
downloadserver-f5671775ef02b1700c1d9a621546a8b28f977ef4.tar.xz
comments
Diffstat (limited to 'src')
-rw-r--r--src/util/interfaces/Activity.ts1
-rw-r--r--src/util/schemas/ActivitySchema.ts1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/util/interfaces/Activity.ts b/src/util/interfaces/Activity.ts
index 279ee40f..d16160d3 100644
--- a/src/util/interfaces/Activity.ts
+++ b/src/util/interfaces/Activity.ts
@@ -34,6 +34,7 @@ export interface Activity {
 	instance?: boolean;
 	flags: string; // activity flags OR d together, describes what the payload includes
 
+	// Spotify and other rich presence data
 	id?: string;
 	sync_id?: string;
 	metadata?: {
diff --git a/src/util/schemas/ActivitySchema.ts b/src/util/schemas/ActivitySchema.ts
index e4501bd7..1f61cc1e 100644
--- a/src/util/schemas/ActivitySchema.ts
+++ b/src/util/schemas/ActivitySchema.ts
@@ -39,6 +39,7 @@ export const ActivitySchema = {
 			$instance: Boolean,
 			$flags: String,
 
+			// Spotify and other rich presence data
 			$id: String,
 			$sync_id: String,
 			$metadata: {