Search
Preparing search index...
The search index is not available
@byters/intern
Options
All
Public
Public/Protected
All
Inherited
Menu
Globals
CommandManager
Class CommandManager
Hierarchy
CommandManager
Implements
Component
Index
Properties
aliases
api
commands
id
name
parent
prefix
Methods
add
Command
create
Message
find
Command
get
Prefix
on
Child
Load
on
Child
Unload
remove
Command
Properties
Private
Readonly
aliases
aliases
:
Map
<
string
,
string
>
= new Map()
api
api
:
ComponentAPI
Private
Readonly
commands
commands
:
Map
<
string
,
Command
>
= new Map()
id
id
:
string
|
null
name
name
:
string
= "CommandManager"
parent
parent
:
Plugin
= Intern
prefix
prefix
:
string
Methods
Private
add
Command
add
Command
(
command
:
Command
)
:
void
since
0.0.1
Parameters
command:
Command
Returns
void
Protected
create
Message
create
Message
(
data
:
APIMessage
, __namedParameters
:
{
ack
:
(
)
=>
void
}
)
:
Promise
<
undefined
|
null
>
Parameters
data:
APIMessage
__namedParameters:
{
ack
:
(
)
=>
void
}
ack
:
(
)
=>
void
(
)
:
void
Returns
void
Returns
Promise
<
undefined
|
null
>
find
Command
find
Command
(
commandAlias
:
string
)
:
Command
|
null
since
0.0.1
Parameters
commandAlias:
string
Returns
Command
|
null
Private
get
Prefix
get
Prefix
(
content
:
string
, prefixes
:
readonly
string
[]
|
string
|
null
)
:
string
|
null
Parameters
content:
string
prefixes:
readonly
string
[]
|
string
|
null
Returns
string
|
null
on
Child
Load
on
Child
Load
(
entity
:
Command
)
:
Promise
<
void
>
since
0.0.1
Parameters
entity:
Command
Returns
Promise
<
void
>
on
Child
Unload
on
Child
Unload
(
entity
:
Command
)
:
Promise
<
void
>
since
0.0.1
Parameters
entity:
Command
Returns
Promise
<
void
>
Private
remove
Command
remove
Command
(
command
:
Command
|
string
)
:
void
since
0.0.1
Parameters
command:
Command
|
string
Returns
void
Globals
Command
Manager
aliases
api
commands
id
name
parent
prefix
add
Command
create
Message
find
Command
get
Prefix
on
Child
Load
on
Child
Unload
remove
Command
Generated using
TypeDoc
0.0.1