Update cache.ts

This commit is contained in:
ITOH
2021-07-29 19:37:31 +02:00
parent 5b9de6a449
commit 924d2a82e7

View File

@@ -53,7 +53,16 @@ export const cache = {
/** Only these properties will be added to memory for your members. */
members: new Set<keyof GuildMember | keyof User | "guilds" | "bitfield" | "cachedAt">(),
/** Only these properties will be added to memory for your messages. */
messages: new Set<keyof Message | "isBot" | "tag" | "authorId" | "mentionedUserIds">(),
messages: new Set<
| keyof Message
| "isBot"
| "tag"
| "authorId"
| "mentionedUserIds"
| "mentionedRoleIds"
| "mentionedChannelIds"
| "bitfield"
>(),
/** Only these properties will be added to memory for your roles. */
roles: new Set<keyof Role | "botId" | "isNitroBoostRole" | "integrationId" | "bitfield">(),
/** Only these properties will be added to memory for your voice states. */