From 786e513775b2ade479cc274dec7b9900225b633e Mon Sep 17 00:00:00 2001 From: Synbulat Biishev Date: Sat, 22 Jul 2023 20:39:36 +0300 Subject: [PATCH] feat: add deprecation in the types --- packages/discord.js/typings/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/discord.js/typings/index.d.ts b/packages/discord.js/typings/index.d.ts index 0429417052e0..b363c045bd20 100644 --- a/packages/discord.js/typings/index.d.ts +++ b/packages/discord.js/typings/index.d.ts @@ -4861,6 +4861,7 @@ export interface ClientEvents { typingStart: [typing: Typing]; userUpdate: [oldUser: User | PartialUser, newUser: User]; voiceStateUpdate: [oldState: VoiceState, newState: VoiceState]; + /** @deprecated Use {@link Client#event:webhooksUpdate} instead */ webhookUpdate: [channel: TextChannel | NewsChannel | VoiceChannel | ForumChannel]; webhooksUpdate: [channel: TextChannel | NewsChannel | VoiceChannel | ForumChannel]; interactionCreate: [interaction: Interaction];