@tryforge/forgescript
Preparing search index...
BaseCommand
Class BaseCommand<T>
Type Parameters
T
Index
Constructors
constructor
Properties
compiled
data
id
Accessors
name
type
Methods
has
Disabled
Console
Errors
matches
Interaction
Type
set
Path
validate
from
Constructors
constructor
new
BaseCommand
<
T
>
(
data
:
IBaseCommand
<
T
>
)
:
BaseCommand
<
T
>
Type Parameters
T
Parameters
data
:
IBaseCommand
<
T
>
Returns
BaseCommand
<
T
>
Properties
Readonly
compiled
compiled
:
ICompiledCommand
Readonly
data
data
:
IBaseCommand
<
T
>
Readonly
id
id
:
number
= ++id
Accessors
name
get
name
()
:
string
|
undefined
Returns
string
|
undefined
type
get
type
()
:
T
Returns
T
Methods
has
Disabled
Console
Errors
hasDisabledConsoleErrors
(
client
:
ForgeClient
)
:
boolean
|
undefined
Parameters
client
:
ForgeClient
Returns
boolean
|
undefined
matches
Interaction
Type
matchesInteractionType
(
i
:
Interaction
)
:
boolean
Parameters
i
:
Interaction
Returns
boolean
set
Path
setPath
(
p
:
string
)
:
BaseCommand
<
T
>
Parameters
p
:
string
Returns
BaseCommand
<
T
>
validate
validate
()
:
void
Returns
void
Static
from
from
(
code
:
string
)
:
BaseCommand
<
null
>
Parameters
code
:
string
Returns
BaseCommand
<
null
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
compiled
data
id
Accessors
name
type
Methods
has
Disabled
Console
Errors
matches
Interaction
Type
set
Path
validate
from
@tryforge/forgescript
Loading...