From f9f36610907e12b6a1d515aac4728a0f675162aa Mon Sep 17 00:00:00 2001 From: Souji Date: Mon, 6 Jul 2020 19:07:33 +0200 Subject: [PATCH] fix(User): type dmChannel as nullable (#4609) --- 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 e0ada93fa..91fe44dec 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -1477,7 +1477,7 @@ declare module 'discord.js' { public readonly createdTimestamp: number; public discriminator: string; public readonly defaultAvatarURL: string; - public readonly dmChannel: DMChannel; + public readonly dmChannel: DMChannel | null; public flags?: Readonly; public id: Snowflake; public lastMessageID: Snowflake | null;