mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-19 04:53:30 +01:00
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:
3
packages/discord.js/typings/index.d.ts
vendored
3
packages/discord.js/typings/index.d.ts
vendored
@@ -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[];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user