Search
Preparing search index...
The search index is not available
Detritus Client
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Detritus Client
structures/basestructure
BaseStructure
Class BaseStructure
Basic Structure class with an added ShardClient attached to it
Hierarchy
Structure
BaseStructure
Application
ApplicationThirdPartySku
ApplicationCommand
ApplicationCommandOption
ApplicationCommandOptionChoice
ApplicationCommandPermissions
ApplicationCommandPermission
ApplicationNews
Attachment
AuditLog
AuditLogChange
AuditLogOptions
ChannelBase
ConnectedAccount
Emoji
Gift
SubscriptionPlan
BaseGuild
GuildWelcomeScreen
GuildWelcomeScreenChannel
Integration
IntegrationAccount
Interaction
InteractionDataApplicationCommand
InteractionDataApplicationCommandOption
InteractionDataApplicationCommandResolved
InteractionDataComponent
Invite
Message
MessageActivity
MessageCall
MessageComponentActionRow
MessageComponent
MessageComponentSelectMenu
MessageComponentSelectMenuOption
MessageInteraction
MessageReference
MessageEmbed
MessageEmbedAuthor
MessageEmbedField
MessageEmbedFooter
MessageEmbedImage
MessageEmbedProvider
Oauth2Application
Oauth2ApplicationAsset
Overwrite
PremiumSubscription
Presence
PresenceActivity
PresenceActivityAssets
PresenceActivityTimestamps
Profile
Reaction
Relationship
Role
Session
SessionClientInfo
StageInstance
StickerItem
StoreListing
StoreListingAsset
Sku
StoreApplicationAsset
Team
Template
ThreadMember
ThreadMetadata
Typing
User
UserMixin
VoiceCall
VoiceRegion
VoiceState
Webhook
Index
Constructors
constructor
Properties
client
Accessors
is
Clone
shard
Id
Methods
[custom]
_get
From
Snake
_set
From
Snake
clone
difference
differences
differences
Between
has
Difference
has
Differences
has
Differences
Between
merge
merge
Value
toJSON
Constructors
constructor
new
Base
Structure
(
client
:
ShardClient
, data
?:
BaseStructureData
, isClone
?:
boolean
)
:
BaseStructure
Parameters
client:
ShardClient
Optional
data:
BaseStructureData
Optional
isClone:
boolean
Returns
BaseStructure
Properties
Readonly
client
client
:
ShardClient
Accessors
is
Clone
get
isClone
(
)
:
boolean
Returns
boolean
shard
Id
get
shardId
(
)
:
number
Returns
number
Methods
[custom]
[custom]
(
)
:
object
Returns
object
_get
From
Snake
_get
From
Snake
(
key
:
string
)
:
any
Parameters
key:
string
Returns
any
_set
From
Snake
_set
From
Snake
(
key
:
string
, value
:
any
)
:
any
Parameters
key:
string
value:
any
Returns
any
clone
clone
(
)
:
BaseStructure
Returns
BaseStructure
difference
difference
(
key
:
string
, value
:
any
)
:
[
boolean
,
any
]
Parameters
key:
string
value:
any
Returns
[
boolean
,
any
]
differences
differences
(
data
?:
BaseStructureData
)
:
null
|
object
Parameters
Optional
data:
BaseStructureData
Returns
null
|
object
differences
Between
differences
Between
(
structure
:
Structure
)
:
null
|
object
Parameters
structure:
Structure
Returns
null
|
object
has
Difference
has
Difference
(
key
:
string
, value
:
any
)
:
boolean
Parameters
key:
string
value:
any
Returns
boolean
has
Differences
has
Differences
(
data
?:
BaseStructureData
)
:
boolean
Parameters
Optional
data:
BaseStructureData
Returns
boolean
has
Differences
Between
has
Differences
Between
(
structure
:
Structure
)
:
boolean
Parameters
structure:
Structure
Returns
boolean
merge
merge
(
data
?:
BaseStructureData
)
:
void
Parameters
Optional
data:
BaseStructureData
Returns
void
merge
Value
merge
Value
(
key
:
string
, value
:
any
)
:
void
Parameters
key:
string
value:
any
Returns
void
toJSON
toJSON
(
)
:
object
Returns
object
Exports
structures/basestructure
Base
Structure
constructor
client
is
Clone
shard
Id
[custom]
_get
From
Snake
_set
From
Snake
clone
difference
differences
differences
Between
has
Difference
has
Differences
has
Differences
Between
merge
merge
Value
toJSON
Structure
Base
Structure
Data
convert
Key
Generated using
TypeDoc
Basic Structure class with an added ShardClient attached to it