Search
Preparing search index...
The search index is not available
Detritus Client
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Detritus Client
utils/components/components
Components
Class Components
Utils Components Structure
Hierarchy
Structure
Components
Index
Constructors
constructor
Properties
_keys
_timeout
components
id
timeout
Methods
[custom]
_get
From
Snake
_set
From
Snake
add
Action
Row
add
Button
add
Select
Menu
create
Action
Row
create
Button
create
Select
Menu
difference
differences
differences
Between
has
Difference
has
Differences
has
Differences
Between
merge
merge
Value
on
Error
on
Timeout
run
toJSON
Constructors
constructor
new
Components
(
data
?:
ComponentsOptions
)
:
Components
Parameters
data:
ComponentsOptions
= {}
Returns
Components
Properties
Readonly
_keys
_keys
:
BaseSet
<
string
>
= ...
Optional
_timeout
_timeout
:
Timeout
components
components
:
ComponentActionRow
[]
= []
Optional
id
id
:
string
timeout
timeout
:
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
add
Action
Row
add
Action
Row
(
data
?:
ComponentActionRowData
|
ComponentActionRow
)
:
Components
Parameters
data:
ComponentActionRowData
|
ComponentActionRow
= {}
Returns
Components
add
Button
add
Button
(
data
?:
ComponentActionData
|
ComponentButton
, inline
?:
boolean
)
:
Components
Parameters
data:
ComponentActionData
|
ComponentButton
= {}
inline:
boolean
= true
Returns
Components
add
Select
Menu
add
Select
Menu
(
data
?:
ComponentActionData
|
ComponentSelectMenu
)
:
Components
Parameters
data:
ComponentActionData
|
ComponentSelectMenu
= {}
Returns
Components
create
Action
Row
create
Action
Row
(
data
?:
ComponentActionRowData
)
:
ComponentActionRow
Parameters
data:
ComponentActionRowData
= {}
Returns
ComponentActionRow
create
Button
create
Button
(
data
?:
ComponentActionData
, inline
?:
boolean
)
:
ComponentButton
Parameters
data:
ComponentActionData
= {}
inline:
boolean
= true
Returns
ComponentButton
create
Select
Menu
create
Select
Menu
(
data
?:
ComponentActionData
)
:
ComponentSelectMenu
Parameters
data:
ComponentActionData
= {}
Returns
ComponentSelectMenu
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
Optional
on
Error
on
Error
(
context
:
ComponentContext
, error
:
Error
)
:
any
Parameters
context:
ComponentContext
error:
Error
Returns
any
Optional
on
Timeout
on
Timeout
(
)
:
any
Returns
any
Optional
run
run
(
context
:
ComponentContext
)
:
any
Parameters
context:
ComponentContext
Returns
any
toJSON
toJSON
(
)
:
RawChannelMessageComponent
[]
Returns
RawChannelMessageComponent
[]
Exports
utils/components/components
Components
constructor
_keys
_timeout
components
id
timeout
[custom]
_get
From
Snake
_set
From
Snake
add
Action
Row
add
Button
add
Select
Menu
create
Action
Row
create
Button
create
Select
Menu
difference
differences
differences
Between
has
Difference
has
Differences
has
Differences
Between
merge
merge
Value
on
Error
on
Timeout
run
toJSON
Components
Options
Component
OnError
Component
OnTimeout
Component
Run
Generated using
TypeDoc
Utils Components Structure