From 2dc70af717f41f4ea9f1d9b7989b1d26cec82eae Mon Sep 17 00:00:00 2001 From: Tristan Guichaoua <33934311+tguichaoua@users.noreply.github.com> Date: Fri, 28 Aug 2020 14:18:45 +0200 Subject: [PATCH] types: add all types for GuildAuditLogsEntry#target (#4738) Co-authored-by: Sugden <28943913+NotSugden@users.noreply.github.com> --- typings/index.d.ts | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/typings/index.d.ts b/typings/index.d.ts index ff42e79a6..971eee38e 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -748,7 +748,18 @@ declare module 'discord.js' { public extra: object | Role | GuildMember | null; public id: Snowflake; public reason: string | null; - public target: Guild | User | Role | GuildEmoji | Invite | Webhook | Integration | null; + public target: + | Guild + | GuildChannel + | User + | Role + | GuildEmoji + | Invite + | Webhook + | Message + | Integration + | { id: Snowflake } + | null; public targetType: GuildAuditLogsTarget; public toJSON(): object; }