Skip to content

Commit 13471fa

Browse files
sdanialrazakodiakhq[bot]
authored andcommitted
types: add missing Caches managers (#10540)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
1 parent b1ded63 commit 13471fa

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

packages/discord.js/typings/index.d.ts

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5217,18 +5217,20 @@ export type BitFieldResolvable<Flags extends string, Type extends number | bigin
52175217
export type BufferResolvable = Buffer | string;
52185218

52195219
export interface Caches {
5220-
AutoModerationRuleManager: [manager: typeof AutoModerationRuleManager, holds: typeof AutoModerationRule];
52215220
ApplicationCommandManager: [manager: typeof ApplicationCommandManager, holds: typeof ApplicationCommand];
5221+
ApplicationEmojiManager: [manager: typeof ApplicationEmojiManager, holds: typeof ApplicationEmoji];
5222+
AutoModerationRuleManager: [manager: typeof AutoModerationRuleManager, holds: typeof AutoModerationRule];
52225223
BaseGuildEmojiManager: [manager: typeof BaseGuildEmojiManager, holds: typeof GuildEmoji];
5223-
DMMessageManager: [manager: typeof MessageManager, holds: typeof Message<false>];
5224-
GuildEmojiManager: [manager: typeof GuildEmojiManager, holds: typeof GuildEmoji];
52255224
// TODO: ChannelManager: [manager: typeof ChannelManager, holds: typeof Channel];
5226-
// TODO: GuildChannelManager: [manager: typeof GuildChannelManager, holds: typeof GuildChannel];
5227-
// TODO: GuildManager: [manager: typeof GuildManager, holds: typeof Guild];
5228-
GuildMemberManager: [manager: typeof GuildMemberManager, holds: typeof GuildMember];
5225+
DMMessageManager: [manager: typeof MessageManager, holds: typeof Message<false>];
5226+
EntitlementManager: [manager: typeof EntitlementManager, holds: typeof Entitlement];
52295227
GuildBanManager: [manager: typeof GuildBanManager, holds: typeof GuildBan];
5228+
// TODO: GuildChannelManager: [manager: typeof GuildChannelManager, holds: typeof GuildChannel];
5229+
GuildEmojiManager: [manager: typeof GuildEmojiManager, holds: typeof GuildEmoji];
52305230
GuildForumThreadManager: [manager: typeof GuildForumThreadManager, holds: typeof ThreadChannel<true>];
52315231
GuildInviteManager: [manager: typeof GuildInviteManager, holds: typeof Invite];
5232+
// TODO: GuildManager: [manager: typeof GuildManager, holds: typeof Guild];
5233+
GuildMemberManager: [manager: typeof GuildMemberManager, holds: typeof GuildMember];
52325234
GuildMessageManager: [manager: typeof GuildMessageManager, holds: typeof Message<true>];
52335235
GuildScheduledEventManager: [manager: typeof GuildScheduledEventManager, holds: typeof GuildScheduledEvent];
52345236
GuildStickerManager: [manager: typeof GuildStickerManager, holds: typeof Sticker];

0 commit comments

Comments
 (0)