detritus

Collectionsnamespace

The caches attached to a ShardClient, like client.guilds and client.messages.

On this page
import { Collections } from 'detritus-client';
29 classes · 25 interfaces · 1 variables

Classes

Classes you create or receive from the library.

classApplicationCommandPermissionsCache Application Command Permissions Collection 2 methods classApplicationEmojis Application Emojis Collection 3 properties · 2 methods classApplications Applications Collection 3 properties · 2 methods classAutoModerationRules Guild Auto Moderation Rules Reference Collection rules aren't sent in GUILD_CREATE, so this only fills from the rule events and Guild.fetchAutoModerationRules() 1 property · 1 method classBaseClientCollection Basic Client Collection, the ShardClient instance is attached to this 2 properties · 1 method classBaseClientCollectionCache Basic Client Cache Collection, the ShardClient instance is attached to this 2 properties · 1 method classBaseClientGuildReferenceCache 6 properties · 11 methods classBaseCollectionCache 3 properties · 11 methods classChannels Channels Collection 5 methods classConnectedAccounts Connected Accounts Collection (Bots cannot fill this) 2 methods classEmojis Emojis Reference Collection 1 property · 1 method classEmptyBaseCollection 12 methods classGuilds Guilds Collection 1 method classGuildScheduledEvents Guild Scheduled Events Reference Collection 1 property · 1 method classInteractions Interactions Collection 5 methods classMembers Members Collection 1 property · 1 method classMessages Messages Collection 7 methods classPresences Presences Collection 2 methods classRelationships Relationships Collection (Bots cannot fill this) 1 method classRoles Roles Reference Collection 1 property · 1 method classSessions Sessions Collection (Bots cannot fill this) 1 method classSoundboardSounds Guild Soundboard Sounds Reference Collection 1 property · 1 method classStageInstances Stage Instances Reference Collection 1 property · 1 method classStickers Stickers Reference Collection 1 property · 1 method classTypingCollection Typing Collection, a collection of users currently typing 1 method classUsers Users Collection 1 method classVoiceCalls VoiceCalls Collection, DM VoiceCalls (Bots cannot fill this) 1 property · 1 method classVoiceConnections VoiceConnections Collection 1 method classVoiceStates VoiceState Collection 2 methods

Interfaces

Object shapes for options, payloads and events.

Variables

Exported values.