mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-15 11:03:30 +01:00
typings(Guild): mark afkChannel* & applicationID as nullable (#3805)
This commit is contained in:
6
typings/index.d.ts
vendored
6
typings/index.d.ts
vendored
@@ -666,10 +666,10 @@ declare module 'discord.js' {
|
|||||||
private _sortedChannels(channel: Channel): Collection<Snowflake, GuildChannel>;
|
private _sortedChannels(channel: Channel): Collection<Snowflake, GuildChannel>;
|
||||||
private _memberSpeakUpdate(user: Snowflake, speaking: boolean): void;
|
private _memberSpeakUpdate(user: Snowflake, speaking: boolean): void;
|
||||||
|
|
||||||
public readonly afkChannel: VoiceChannel;
|
public readonly afkChannel: VoiceChannel | null;
|
||||||
public afkChannelID: Snowflake;
|
public afkChannelID: Snowflake | null;
|
||||||
public afkTimeout: number;
|
public afkTimeout: number;
|
||||||
public applicationID: Snowflake;
|
public applicationID: Snowflake | null;
|
||||||
public available: boolean;
|
public available: boolean;
|
||||||
public banner: string | null;
|
public banner: string | null;
|
||||||
public channels: GuildChannelManager;
|
public channels: GuildChannelManager;
|
||||||
|
|||||||
Reference in New Issue
Block a user