From f85230812ff6de4f1ba1c021c93fe308fb0685e6 Mon Sep 17 00:00:00 2001 From: Sugden <28943913+NotSugden@users.noreply.github.com> Date: Wed, 19 Feb 2020 20:34:26 +0000 Subject: [PATCH] typings(Guild): mark afkChannel* & applicationID as nullable (#3805) --- typings/index.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/typings/index.d.ts b/typings/index.d.ts index 6acc486d8..4372b4ecf 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -666,10 +666,10 @@ declare module 'discord.js' { private _sortedChannels(channel: Channel): Collection; private _memberSpeakUpdate(user: Snowflake, speaking: boolean): void; - public readonly afkChannel: VoiceChannel; - public afkChannelID: Snowflake; + public readonly afkChannel: VoiceChannel | null; + public afkChannelID: Snowflake | null; public afkTimeout: number; - public applicationID: Snowflake; + public applicationID: Snowflake | null; public available: boolean; public banner: string | null; public channels: GuildChannelManager;