From e0e271162c7ee9913facbff99970177c107ef3f2 Mon Sep 17 00:00:00 2001 From: Sugden <28943913+NotSugden@users.noreply.github.com> Date: Thu, 27 Aug 2020 15:40:36 +0100 Subject: [PATCH] fix(typings): bot cannot be null (#4719) --- typings/index.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/typings/index.d.ts b/typings/index.d.ts index 27f2d977b..93cfbce05 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -2991,7 +2991,8 @@ declare module 'discord.js' { type PartialTypes = 'USER' | 'CHANNEL' | 'GUILD_MEMBER' | 'MESSAGE' | 'REACTION'; - interface PartialUser extends Partialize { + interface PartialUser extends Partialize { + bot: User['bot']; flags: User['flags']; locale: User['locale']; system: User['system'];