Skip to content

Commit 939e364

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

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
@@ -4961,18 +4961,20 @@ export type BitFieldResolvable<Flags extends string, Type extends number | bigin
49614961
export type BufferResolvable = Buffer | string;
49624962

49634963
export interface Caches {
4964-
AutoModerationRuleManager: [manager: typeof AutoModerationRuleManager, holds: typeof AutoModerationRule];
49654964
ApplicationCommandManager: [manager: typeof ApplicationCommandManager, holds: typeof ApplicationCommand];
4965+
ApplicationEmojiManager: [manager: typeof ApplicationEmojiManager, holds: typeof ApplicationEmoji];
4966+
AutoModerationRuleManager: [manager: typeof AutoModerationRuleManager, holds: typeof AutoModerationRule];
49664967
BaseGuildEmojiManager: [manager: typeof BaseGuildEmojiManager, holds: typeof GuildEmoji];
4967-
DMMessageManager: [manager: typeof MessageManager, holds: typeof Message<false>];
4968-
GuildEmojiManager: [manager: typeof GuildEmojiManager, holds: typeof GuildEmoji];
49694968
// TODO: ChannelManager: [manager: typeof ChannelManager, holds: typeof Channel];
4970-
// TODO: GuildChannelManager: [manager: typeof GuildChannelManager, holds: typeof GuildChannel];
4971-
// TODO: GuildManager: [manager: typeof GuildManager, holds: typeof Guild];
4972-
GuildMemberManager: [manager: typeof GuildMemberManager, holds: typeof GuildMember];
4969+
DMMessageManager: [manager: typeof MessageManager, holds: typeof Message<false>];
4970+
EntitlementManager: [manager: typeof EntitlementManager, holds: typeof Entitlement];
49734971
GuildBanManager: [manager: typeof GuildBanManager, holds: typeof GuildBan];
4972+
// TODO: GuildChannelManager: [manager: typeof GuildChannelManager, holds: typeof GuildChannel];
4973+
GuildEmojiManager: [manager: typeof GuildEmojiManager, holds: typeof GuildEmoji];
49744974
GuildForumThreadManager: [manager: typeof GuildForumThreadManager, holds: typeof ThreadChannel<true>];
49754975
GuildInviteManager: [manager: typeof GuildInviteManager, holds: typeof Invite];
4976+
// TODO: GuildManager: [manager: typeof GuildManager, holds: typeof Guild];
4977+
GuildMemberManager: [manager: typeof GuildMemberManager, holds: typeof GuildMember];
49764978
GuildMessageManager: [manager: typeof GuildMessageManager, holds: typeof Message<true>];
49774979
GuildScheduledEventManager: [manager: typeof GuildScheduledEventManager, holds: typeof GuildScheduledEvent];
49784980
GuildStickerManager: [manager: typeof GuildStickerManager, holds: typeof Sticker];

0 commit comments

Comments
 (0)