We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 824e70c + e926c7b commit 1821fc1Copy full SHA for 1821fc1
src/structures/presence.ts
@@ -124,6 +124,12 @@ export class ClientPresence {
124
else {
125
activity.map((e) => {
126
if (typeof e.type === 'string') e.type = ActivityTypes[e.type]
127
+
128
+ if (e.type === ActivityTypes.CUSTOM_STATUS) {
129
+ e.state = e.name
130
+ e.name = 'Custom Status'
131
+ }
132
133
return e
134
})
135
return activity
src/types/presence.ts
@@ -72,6 +72,8 @@ export interface ActivityGame {
72
name: string
73
type: 0 | 1 | 2 | 3 | 4 | 5 | ActivityType
74
url?: string
75
+ /** Used for CUSTOM_STATUS */
76
+ state?: string
77
}
78
79
export interface ClientActivity {
0 commit comments