seyfert
Preparing search index...
Cache
Class Cache
Index
Constructors
constructor
Properties
__
logger__?
adapter
bans?
channels?
emojis?
guilds?
intents
members?
messages?
overwrites?
presences?
roles?
stage
Instances?
stickers?
users?
voice
States?
Accessors
has
Channels
Intent
has
Direct
Messages
has
Guild
Expressions
Intent
has
Guild
Members
Intent
has
Guilds
Intent
has
Moderation
Intent
has
Prensece
Updates
has
Roles
Intent
has
Voice
States
Intent
Methods
build
Cache
bulk
Get
bulk
Patch
bulk
Set
flush
has
Intent
on
Packet
on
Packet
Default
test
Adapter
Constructors
constructor
new
Cache
(
intents
:
number
,
adapter
:
Adapter
,
disabledCache
:
DisabledCache
,
client
:
UsingClient
,
)
:
Cache
Parameters
intents
:
number
adapter
:
Adapter
disabledCache
:
DisabledCache
client
:
UsingClient
Returns
Cache
Properties
Optional
__
logger__
__logger__
?:
Logger
adapter
adapter
:
Adapter
Optional
bans
bans
?:
Bans
Optional
channels
channels
?:
Channels
Optional
emojis
emojis
?:
Emojis
Optional
guilds
guilds
?:
Guilds
intents
intents
:
number
Optional
members
members
?:
Members
Optional
messages
messages
?:
Messages
Optional
overwrites
overwrites
?:
Overwrites
Optional
presences
presences
?:
Presences
Optional
roles
roles
?:
Roles
Optional
stage
Instances
stageInstances
?:
StageInstances
Optional
stickers
stickers
?:
Stickers
Optional
users
users
?:
Users
Optional
voice
States
voiceStates
?:
VoiceStates
Accessors
has
Channels
Intent
get
hasChannelsIntent
()
:
boolean
Returns
boolean
has
Direct
Messages
get
hasDirectMessages
()
:
boolean
Returns
boolean
has
Guild
Expressions
Intent
get
hasGuildExpressionsIntent
()
:
boolean
Returns
boolean
has
Guild
Members
Intent
get
hasGuildMembersIntent
()
:
boolean
Returns
boolean
has
Guilds
Intent
get
hasGuildsIntent
()
:
boolean
Returns
boolean
has
Moderation
Intent
get
hasModerationIntent
()
:
boolean
Returns
boolean
has
Prensece
Updates
get
hasPrenseceUpdates
()
:
boolean
Returns
boolean
has
Roles
Intent
get
hasRolesIntent
()
:
boolean
Returns
boolean
has
Voice
States
Intent
get
hasVoiceStatesIntent
()
:
boolean
Returns
boolean
Methods
build
Cache
buildCache
(
disabledCache
:
DisabledCache
,
client
:
UsingClient
)
:
void
Parameters
disabledCache
:
DisabledCache
client
:
UsingClient
Returns
void
bulk
Get
bulkGet
(
keys
:
(
|
readonly
[
NonGuildBased
|
GuildRelated
,
string
]
|
readonly
[
GuildBased
,
string
,
string
]
)
[]
,
)
:
Promise
<
Partial
<
{
bans
:
GuildBan
[]
;
channels
:
NonNullable
<
ReturnCache
<
undefined
|
AllChannels
>
>
[]
;
emojis
:
NonNullable
<
ReturnCache
<
undefined
|
ApplicationEmoji
|
GuildEmoji
>
,
>
[]
;
guilds
:
Guild
<
"cached"
>
[]
;
members
:
GuildMember
[]
;
messages
:
Message
[]
;
overwrites
:
{
allow
:
PermissionsBitField
;
deny
:
PermissionsBitField
;
guildId
:
string
;
id
:
string
;
type
:
number
;
}
[]
[]
;
presences
:
(
Omit
<
GatewayPresenceUpdate
,
"user"
>
&
{
id
:
string
;
user_id
:
string
}
&
{
guild_id
:
string
;
}
)
[]
;
roles
:
GuildRole
[]
;
stageInstances
:
(
APIStageInstance
&
{
guild_id
:
string
}
)
[]
;
stickers
:
Sticker
[]
;
users
:
User
[]
;
voiceStates
:
VoiceState
[]
;
}
,
>
,
>
Parameters
keys
: (
|
readonly
[
NonGuildBased
|
GuildRelated
,
string
]
|
readonly
[
GuildBased
,
string
,
string
]
)
[]
Returns
Promise
<
Partial
<
{
bans
:
GuildBan
[]
;
channels
:
NonNullable
<
ReturnCache
<
undefined
|
AllChannels
>
>
[]
;
emojis
:
NonNullable
<
ReturnCache
<
undefined
|
ApplicationEmoji
|
GuildEmoji
>
,
>
[]
;
guilds
:
Guild
<
"cached"
>
[]
;
members
:
GuildMember
[]
;
messages
:
Message
[]
;
overwrites
:
{
allow
:
PermissionsBitField
;
deny
:
PermissionsBitField
;
guildId
:
string
;
id
:
string
;
type
:
number
;
}
[]
[]
;
presences
:
(
Omit
<
GatewayPresenceUpdate
,
"user"
>
&
{
id
:
string
;
user_id
:
string
}
&
{
guild_id
:
string
;
}
)
[]
;
roles
:
GuildRole
[]
;
stageInstances
:
(
APIStageInstance
&
{
guild_id
:
string
}
)
[]
;
stickers
:
Sticker
[]
;
users
:
User
[]
;
voiceStates
:
VoiceState
[]
;
}
,
>
,
>
bulk
Patch
bulkPatch
(
keys
:
(
|
readonly
[
CacheFrom
,
NonGuildBased
,
any
,
string
]
|
readonly
[
CacheFrom
,
GuildBased
|
GuildRelated
,
any
,
string
,
string
]
)
[]
,
)
:
Promise
<
void
>
Parameters
keys
: (
|
readonly
[
CacheFrom
,
NonGuildBased
,
any
,
string
]
|
readonly
[
CacheFrom
,
GuildBased
|
GuildRelated
,
any
,
string
,
string
]
)
[]
Returns
Promise
<
void
>
bulk
Set
bulkSet
(
keys
:
(
|
readonly
[
CacheFrom
,
NonGuildBased
,
any
,
string
]
|
readonly
[
CacheFrom
,
GuildBased
|
GuildRelated
,
any
,
string
,
string
]
)
[]
,
)
:
Promise
<
void
>
Parameters
keys
: (
|
readonly
[
CacheFrom
,
NonGuildBased
,
any
,
string
]
|
readonly
[
CacheFrom
,
GuildBased
|
GuildRelated
,
any
,
string
,
string
]
)
[]
Returns
Promise
<
void
>
flush
flush
()
:
void
Returns
void
has
Intent
hasIntent
(
intent
:
|
"Guilds"
|
"GuildMembers"
|
"GuildModeration"
|
"GuildExpressions"
|
"GuildIntegrations"
|
"GuildWebhooks"
|
"GuildInvites"
|
"GuildVoiceStates"
|
"GuildPresences"
|
"GuildMessages"
|
"GuildMessageReactions"
|
"GuildMessageTyping"
|
"DirectMessages"
|
"DirectMessageReactions"
|
"DirectMessageTyping"
|
"MessageContent"
|
"GuildScheduledEvents"
|
"AutoModerationConfiguration"
|
"AutoModerationExecution"
|
"GuildMessagePolls"
|
"DirectMessagePolls"
|
"NonPrivilaged"
|
"OnlyPrivilaged"
,
)
:
boolean
Parameters
intent
:
|
"Guilds"
|
"GuildMembers"
|
"GuildModeration"
|
"GuildExpressions"
|
"GuildIntegrations"
|
"GuildWebhooks"
|
"GuildInvites"
|
"GuildVoiceStates"
|
"GuildPresences"
|
"GuildMessages"
|
"GuildMessageReactions"
|
"GuildMessageTyping"
|
"DirectMessages"
|
"DirectMessageReactions"
|
"DirectMessageTyping"
|
"MessageContent"
|
"GuildScheduledEvents"
|
"AutoModerationConfiguration"
|
"AutoModerationExecution"
|
"GuildMessagePolls"
|
"DirectMessagePolls"
|
"NonPrivilaged"
|
"OnlyPrivilaged"
Returns
boolean
on
Packet
onPacket
(
event
:
GatewayDispatchPayload
)
:
Promise
<
void
>
Parameters
event
:
GatewayDispatchPayload
Returns
Promise
<
void
>
Protected
on
Packet
Default
onPacketDefault
(
event
:
GatewayDispatchPayload
)
:
Promise
<
void
>
Parameters
event
:
GatewayDispatchPayload
Returns
Promise
<
void
>
test
Adapter
testAdapter
()
:
Promise
<
void
>
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
__
logger__
adapter
bans
channels
emojis
guilds
intents
members
messages
overwrites
presences
roles
stage
Instances
stickers
users
voice
States
Accessors
has
Channels
Intent
has
Direct
Messages
has
Guild
Expressions
Intent
has
Guild
Members
Intent
has
Guilds
Intent
has
Moderation
Intent
has
Prensece
Updates
has
Roles
Intent
has
Voice
States
Intent
Methods
build
Cache
bulk
Get
bulk
Patch
bulk
Set
flush
has
Intent
on
Packet
on
Packet
Default
test
Adapter
seyfert
Loading...