discordx
Preparing search index...
MetadataStorage
Class MetadataStorage
Index
Constructors
constructor
Accessors
application
Command
Messages
application
Commands
application
Command
Slashes
application
Command
Slashes
Flat
application
Command
Slash
Groups
application
Command
Slash
Options
application
Command
Slash
Sub
Groups
application
Command
Users
button
Components
discords
events
is
Built
modal
Components
reactions
select
Menu
Components
simple
Command
Mapped
Prefix
simple
Commands
simple
Commands
By
Name
used
Events
instance
is
Built
Methods
add
Application
Command
Message
add
Application
Command
Slash
add
Application
Command
Slash
Groups
add
Application
Command
Slash
Option
add
Application
Command
Slash
Sub
Groups
add
Application
Command
User
add
Component
Button
add
Component
Modal
add
Component
Select
Menu
add
Discord
add
Guard
add
Modifier
add
On
add
Reaction
add
Simple
Command
add
Simple
Command
Option
build
trigger
clear
Constructors
constructor
new
MetadataStorage
()
:
MetadataStorage
Returns
MetadataStorage
Accessors
application
Command
Messages
get
applicationCommandMessages
()
:
readonly
DApplicationCommand
[]
Returns
readonly
DApplicationCommand
[]
application
Commands
get
applicationCommands
()
:
readonly
DApplicationCommand
[]
Returns
readonly
DApplicationCommand
[]
application
Command
Slashes
get
applicationCommandSlashes
()
:
readonly
DApplicationCommand
[]
Returns
readonly
DApplicationCommand
[]
application
Command
Slashes
Flat
get
applicationCommandSlashesFlat
()
:
readonly
DApplicationCommand
[]
Returns
readonly
DApplicationCommand
[]
application
Command
Slash
Groups
get
applicationCommandSlashGroups
()
:
readonly
DApplicationCommandGroup
<
DApplicationCommand
|
DApplicationCommandOption
,
>
[]
Returns
readonly
DApplicationCommandGroup
<
DApplicationCommand
|
DApplicationCommandOption
,
>
[]
application
Command
Slash
Options
get
applicationCommandSlashOptions
()
:
readonly
DApplicationCommandOption
[]
Returns
readonly
DApplicationCommandOption
[]
application
Command
Slash
Sub
Groups
get
applicationCommandSlashSubGroups
()
:
readonly
DApplicationCommandGroup
<
DApplicationCommand
|
DApplicationCommandOption
,
>
[]
Returns
readonly
DApplicationCommandGroup
<
DApplicationCommand
|
DApplicationCommandOption
,
>
[]
application
Command
Users
get
applicationCommandUsers
()
:
readonly
DApplicationCommand
[]
Returns
readonly
DApplicationCommand
[]
button
Components
get
buttonComponents
()
:
readonly
DComponent
[]
Returns
readonly
DComponent
[]
discords
get
discords
()
:
readonly
DDiscord
[]
Returns
readonly
DDiscord
[]
events
get
events
()
:
readonly
DOn
[]
Returns
readonly
DOn
[]
is
Built
get
isBuilt
()
:
boolean
Returns
boolean
modal
Components
get
modalComponents
()
:
readonly
DComponent
[]
Returns
readonly
DComponent
[]
reactions
get
reactions
()
:
readonly
DReaction
[]
Returns
readonly
DReaction
[]
select
Menu
Components
get
selectMenuComponents
()
:
readonly
DComponent
[]
Returns
readonly
DComponent
[]
simple
Command
Mapped
Prefix
get
simpleCommandMappedPrefix
()
:
readonly
string
[]
Returns
readonly
string
[]
simple
Commands
get
simpleCommands
()
:
readonly
DSimpleCommand
[]
Returns
readonly
DSimpleCommand
[]
simple
Commands
By
Name
get
simpleCommandsByName
()
:
readonly
ISimpleCommandByName
[]
Returns
readonly
ISimpleCommandByName
[]
used
Events
get
usedEvents
()
:
readonly
DOn
[]
Get the list of used events without duplications
Returns
readonly
DOn
[]
Static
instance
get
instance
()
:
MetadataStorage
Returns
MetadataStorage
set
instance
(
value
:
MetadataStorage
)
:
void
Parameters
value
:
MetadataStorage
Returns
void
Static
is
Built
get
isBuilt
()
:
boolean
Returns
boolean
Methods
add
Application
Command
Message
addApplicationCommandMessage
(
slash
:
DApplicationCommand
)
:
void
Parameters
slash
:
DApplicationCommand
Returns
void
add
Application
Command
Slash
addApplicationCommandSlash
(
slash
:
DApplicationCommand
)
:
void
Parameters
slash
:
DApplicationCommand
Returns
void
add
Application
Command
Slash
Groups
addApplicationCommandSlashGroups
(
group
:
DApplicationCommandGroup
<
Partial
<
DApplicationCommand
>
>
,
)
:
void
Parameters
group
:
DApplicationCommandGroup
<
Partial
<
DApplicationCommand
>
>
Returns
void
add
Application
Command
Slash
Option
addApplicationCommandSlashOption
(
option
:
DApplicationCommandOption
)
:
void
Parameters
option
:
DApplicationCommandOption
Returns
void
add
Application
Command
Slash
Sub
Groups
addApplicationCommandSlashSubGroups
(
subGroup
:
DApplicationCommandGroup
<
Partial
<
DApplicationCommandOption
>
>
,
)
:
void
Parameters
subGroup
:
DApplicationCommandGroup
<
Partial
<
DApplicationCommandOption
>
>
Returns
void
add
Application
Command
User
addApplicationCommandUser
(
slash
:
DApplicationCommand
)
:
void
Parameters
slash
:
DApplicationCommand
Returns
void
add
Component
Button
addComponentButton
(
button
:
DComponent
)
:
void
Parameters
button
:
DComponent
Returns
void
add
Component
Modal
addComponentModal
(
selectMenu
:
DComponent
)
:
void
Parameters
selectMenu
:
DComponent
Returns
void
add
Component
Select
Menu
addComponentSelectMenu
(
selectMenu
:
DComponent
)
:
void
Parameters
selectMenu
:
DComponent
Returns
void
add
Discord
addDiscord
(
discord
:
DDiscord
)
:
void
Parameters
discord
:
DDiscord
Returns
void
add
Guard
addGuard
(
guard
:
DGuard
)
:
void
Parameters
guard
:
DGuard
Returns
void
add
Modifier
addModifier
<
T
extends
Decorator
=
Decorator
>
(
modifier
:
Modifier
<
T
>
)
:
void
Type Parameters
T
extends
Decorator
=
Decorator
Parameters
modifier
:
Modifier
<
T
>
Returns
void
add
On
addOn
(
on
:
DOn
)
:
void
Parameters
on
:
DOn
Returns
void
add
Reaction
addReaction
(
reaction
:
DReaction
)
:
void
Parameters
reaction
:
DReaction
Returns
void
add
Simple
Command
addSimpleCommand
(
cmd
:
DSimpleCommand
)
:
void
Parameters
cmd
:
DSimpleCommand
Returns
void
add
Simple
Command
Option
addSimpleCommandOption
(
cmdOption
:
DSimpleCommandOption
)
:
void
Parameters
cmdOption
:
DSimpleCommandOption
Returns
void
build
build
()
:
Promise
<
void
>
Returns
Promise
<
void
>
trigger
trigger
(
options
:
ITriggerEventData
)
:
(
...
params
:
any
[]
)
=>
any
Trigger a discord event
Parameters
options
:
ITriggerEventData
Even data
Returns
(
...
params
:
any
[]
)
=>
any
Static
clear
clear
()
:
void
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Accessors
application
Command
Messages
application
Commands
application
Command
Slashes
application
Command
Slashes
Flat
application
Command
Slash
Groups
application
Command
Slash
Options
application
Command
Slash
Sub
Groups
application
Command
Users
button
Components
discords
events
is
Built
modal
Components
reactions
select
Menu
Components
simple
Command
Mapped
Prefix
simple
Commands
simple
Commands
By
Name
used
Events
instance
is
Built
Methods
add
Application
Command
Message
add
Application
Command
Slash
add
Application
Command
Slash
Groups
add
Application
Command
Slash
Option
add
Application
Command
Slash
Sub
Groups
add
Application
Command
User
add
Component
Button
add
Component
Modal
add
Component
Select
Menu
add
Discord
add
Guard
add
Modifier
add
On
add
Reaction
add
Simple
Command
add
Simple
Command
Option
build
trigger
clear
discordx
Loading...