From 939e3644e1e1dabe5d3074682c522cc9bc5c7148 Mon Sep 17 00:00:00 2001 From: Danial Raza Date: Tue, 5 Nov 2024 10:36:41 +0100 Subject: [PATCH] types: add missing `Caches` managers (#10540) Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> --- packages/discord.js/typings/index.d.ts | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/packages/discord.js/typings/index.d.ts b/packages/discord.js/typings/index.d.ts index bd3cb855c..0661f25ea 100644 --- a/packages/discord.js/typings/index.d.ts +++ b/packages/discord.js/typings/index.d.ts @@ -4961,18 +4961,20 @@ export type BitFieldResolvable]; - GuildEmojiManager: [manager: typeof GuildEmojiManager, holds: typeof GuildEmoji]; // TODO: ChannelManager: [manager: typeof ChannelManager, holds: typeof Channel]; - // TODO: GuildChannelManager: [manager: typeof GuildChannelManager, holds: typeof GuildChannel]; - // TODO: GuildManager: [manager: typeof GuildManager, holds: typeof Guild]; - GuildMemberManager: [manager: typeof GuildMemberManager, holds: typeof GuildMember]; + DMMessageManager: [manager: typeof MessageManager, holds: typeof Message]; + EntitlementManager: [manager: typeof EntitlementManager, holds: typeof Entitlement]; GuildBanManager: [manager: typeof GuildBanManager, holds: typeof GuildBan]; + // TODO: GuildChannelManager: [manager: typeof GuildChannelManager, holds: typeof GuildChannel]; + GuildEmojiManager: [manager: typeof GuildEmojiManager, holds: typeof GuildEmoji]; GuildForumThreadManager: [manager: typeof GuildForumThreadManager, holds: typeof ThreadChannel]; GuildInviteManager: [manager: typeof GuildInviteManager, holds: typeof Invite]; + // TODO: GuildManager: [manager: typeof GuildManager, holds: typeof Guild]; + GuildMemberManager: [manager: typeof GuildMemberManager, holds: typeof GuildMember]; GuildMessageManager: [manager: typeof GuildMessageManager, holds: typeof Message]; GuildScheduledEventManager: [manager: typeof GuildScheduledEventManager, holds: typeof GuildScheduledEvent]; GuildStickerManager: [manager: typeof GuildStickerManager, holds: typeof Sticker];