feat(ClientPresence): allow setting activity state (#9743)

* feat(ClientPresence): allow setting activity state

* fix: add to map

* feat: use name as fallback state
This commit is contained in:
advaith
2023-08-12 04:31:29 -07:00
committed by GitHub
parent 0a9a3ede29
commit 9ed1b59df6
3 changed files with 14 additions and 3 deletions

View File

@@ -4323,8 +4323,9 @@ export type ActivitiesOptions = Omit<ActivityOptions, 'shardId'>;
export interface ActivityOptions {
name: string;
state?: string;
url?: string;
type?: Exclude<ActivityType, ActivityType.Custom>;
type?: ActivityType;
shardId?: number | readonly number[];
}