From 824e92229d5e700eaf3043b0117fcde33706f483 Mon Sep 17 00:00:00 2001 From: cherryblossom000 <31467609+cherryblossom000@users.noreply.github.com> Date: Sun, 18 Oct 2020 00:33:37 +1100 Subject: [PATCH] types(Activity): move flags from Presence to Activity (#4843) This commit moves the `flags` property from `Presence` to `Activity` in the typings. --- typings/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typings/index.d.ts b/typings/index.d.ts index 995fd3ac4..da1761a90 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -29,6 +29,7 @@ declare module 'discord.js' { public createdTimestamp: number; public details: string | null; public emoji: Emoji | null; + public flags: Readonly; 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; public guild: Guild | null; public readonly member: GuildMember | null; public status: PresenceStatus;