mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
types(Activity): move flags from Presence to Activity (#4843)
This commit moves the `flags` property from `Presence` to `Activity` in the typings.
This commit is contained in:
2
typings/index.d.ts
vendored
2
typings/index.d.ts
vendored
@@ -29,6 +29,7 @@ declare module 'discord.js' {
|
||||
public createdTimestamp: number;
|
||||
public details: string | null;
|
||||
public emoji: Emoji | null;
|
||||
public flags: Readonly<ActivityFlags>;
|
||||
public name: string;
|
||||
public party: {
|
||||
id: string | null;
|
||||
@@ -1231,7 +1232,6 @@ declare module 'discord.js' {
|
||||
constructor(client: Client, data?: object);
|
||||
public activities: Activity[];
|
||||
public clientStatus: ClientPresenceStatusData | null;
|
||||
public flags: Readonly<ActivityFlags>;
|
||||
public guild: Guild | null;
|
||||
public readonly member: GuildMember | null;
|
||||
public status: PresenceStatus;
|
||||
|
||||
Reference in New Issue
Block a user