GitHub
S0n1c
Preparing search index...
The search index is not available
nuru
nuru
Command
Class Command<T>
Type Parameters
T
=
Nuru
Index
Constructors
constructor
Properties
name
description
_response?
Methods
set_
handler
handle
Constructors
constructor
new
Command
<
T
=
Nuru
>
(
data
:
CmdInfo
)
:
Command
<
T
>
Type Parameters
T
=
Nuru
Parameters
data
:
CmdInfo
Returns
Command
<
T
>
Properties
name
name
:
string
description
description
:
string
Protected
Optional
_response
_response
?:
CommandResponse
<
T
>
Methods
set_
handler
set_handler
(
cb
:
CommandResponse
<
T
>
)
:
this
Parameters
cb
:
CommandResponse
<
T
>
Returns
this
handle
handle
(
client
:
T
,
args
:
string
[]
)
:
Promise
<
CommandResponseReturnType
>
Parameters
client
:
T
args
:
string
[]
Returns
Promise
<
CommandResponseReturnType
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
name
description
_response
Methods
set_
handler
handle
GitHub
S0n1c
nuru
Loading...