mirror of
https://github.com/danbulant/discord.js
synced 2026-06-20 23:21:04 +00: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:
parent
0b59141054
commit
824e92229d
1 changed files with 1 additions and 1 deletions
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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue