types(GuildPreview): Make description nullable (#4854)

Co-authored-by: Antonio Román <kyradiscord@gmail.com>
This commit is contained in:
Jiralite 2020-10-17 14:33:08 +01:00 committed by GitHub
parent b9ad51049e
commit 0b59141054
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

2
typings/index.d.ts vendored
View file

@ -887,7 +887,7 @@ declare module 'discord.js' {
constructor(client: Client, data: object);
public approximateMemberCount: number;
public approximatePresenceCount: number;
public description?: string;
public description: string | null;
public discoverySplash: string | null;
public emojis: Collection<Snowflake, GuildPreviewEmoji>;
public features: GuildFeatures[];