typings(Guild): mark afkChannel* & applicationID as nullable (#3805)

This commit is contained in:
Sugden
2020-02-19 20:34:26 +00:00
committed by GitHub
parent c4c6ad4a63
commit f85230812f

6
typings/index.d.ts vendored
View File

@@ -666,10 +666,10 @@ declare module 'discord.js' {
private _sortedChannels(channel: Channel): Collection<Snowflake, GuildChannel>;
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;