nyx Typedoc
Preparing search index...
@nyx-discord/djs
CommandEventArgs
Interface CommandEventArgs<Types>
Record of arguments for each command event.
interface
CommandEventArgs
<
Types
extends
InteractionTypes
=
InteractionTypes
>
{
commandAdd
:
[
command
:
TopLevelCommand
<
Types
>
]
;
commandAutocomplete
:
[
command
:
AnyExecutableCommand
<
Types
>
,
interaction
:
Types
[
"AutocompleteInteraction"
]
,
meta
:
Metadata
,
]
;
commandRemove
:
[
command
:
TopLevelCommand
<
Types
>
]
;
commandRun
:
[
command
:
AnyExecutableCommand
<
Types
>
,
interaction
:
CommandExecutableInteraction
<
Types
>
,
meta
:
Metadata
,
]
;
}
Type Parameters
Types
extends
InteractionTypes
=
InteractionTypes
Index
Properties
command
Add
command
Autocomplete
command
Remove
command
Run
Properties
command
Add
commandAdd
:
[
command
:
TopLevelCommand
<
Types
>
]
command
Autocomplete
commandAutocomplete
:
[
command
:
AnyExecutableCommand
<
Types
>
,
interaction
:
Types
[
"AutocompleteInteraction"
]
,
meta
:
Metadata
,
]
command
Remove
commandRemove
:
[
command
:
TopLevelCommand
<
Types
>
]
command
Run
commandRun
:
[
command
:
AnyExecutableCommand
<
Types
>
,
interaction
:
CommandExecutableInteraction
<
Types
>
,
meta
:
Metadata
,
]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
command
Add
command
Autocomplete
command
Remove
command
Run
Documentation
Loading...
Record of arguments for each command event.