From f77612a55e9c593a21bc27e58c9fbd03d85787e3 Mon Sep 17 00:00:00 2001 From: D Trombett Date: Fri, 2 Sep 2022 17:30:06 +0200 Subject: [PATCH] types(webhook): avatar can be null (#8541) --- packages/discord.js/typings/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/discord.js/typings/index.d.ts b/packages/discord.js/typings/index.d.ts index 351a33220..719e9e101 100644 --- a/packages/discord.js/typings/index.d.ts +++ b/packages/discord.js/typings/index.d.ts @@ -2811,7 +2811,7 @@ export class VoiceState extends Base { export class Webhook extends WebhookMixin() { private constructor(client: Client, data?: RawWebhookData); - public avatar: string; + public avatar: string | null; public avatarURL(options?: ImageURLOptions): string | null; public channelId: Snowflake; public readonly client: Client;