Search
Preparing search index...
The search index is not available
yuuko
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
yuuko
Eris
Command
Class Command
Hierarchy
Command
Implements
CommandOptions
SimpleJSON
Index
Constructors
constructor
Properties
aliases
args
Required
case
Insensitive
cooldown
cooldown
Exclusions
cooldown
Message
cooldown
Returns
default
Subcommand
Options
delete
Command
description
dm
Only
error
Message
full
Description
full
Label
guild
Only
hidden
hooks
invalid
Usage
Message
label
parent
Command
permission
Message
reaction
Button
Timeout
reaction
Buttons
requirements
restart
Cooldown
subcommand
Aliases
subcommands
usage
Methods
cooldown
Check
cooldown
Exclusion
Check
execute
Command
permission
Check
process
register
Subcommand
register
Subcommand
Alias
toJSON
to
String
unregister
Subcommand
Constructors
constructor
new
Command
(
label
:
string
, generate
:
CommandGenerator
, options
?:
CommandOptions
)
:
Command
Parameters
label:
string
generate:
CommandGenerator
Optional
options:
CommandOptions
Returns
Command
Properties
aliases
aliases
:
string
[]
args
Required
args
Required
:
boolean
case
Insensitive
case
Insensitive
:
boolean
cooldown
cooldown
:
number
cooldown
Exclusions
cooldown
Exclusions
:
CommandCooldownExclusions
cooldown
Message
cooldown
Message
:
false
|
MessageContent
|
GenericCheckFunction
<
MessageContent
>
cooldown
Returns
cooldown
Returns
:
number
default
Subcommand
Options
default
Subcommand
Options
:
CommandOptions
delete
Command
delete
Command
:
boolean
description
description
:
string
dm
Only
dm
Only
:
boolean
error
Message
error
Message
:
MessageContent
|
GenericCheckFunction
<
MessageContent
>
full
Description
full
Description
:
string
full
Label
full
Label
:
string
guild
Only
guild
Only
:
boolean
hidden
hidden
:
boolean
hooks
hooks
:
Hooks
invalid
Usage
Message
invalid
Usage
Message
:
false
|
MessageContent
|
GenericCheckFunction
<
MessageContent
>
label
label
:
string
Optional
parent
Command
parent
Command
:
Command
permission
Message
permission
Message
:
false
|
MessageContent
|
GenericCheckFunction
<
MessageContent
>
reaction
Button
Timeout
reaction
Button
Timeout
:
number
reaction
Buttons
reaction
Buttons
:
null
|
CommandReactionButtons
[]
requirements
requirements
:
CommandRequirements
restart
Cooldown
restart
Cooldown
:
boolean
subcommand
Aliases
subcommand
Aliases
:
{}
Type declaration
[
alias:
string
]:
string
subcommands
subcommands
:
{}
Type declaration
[
s:
string
]:
Command
usage
usage
:
string
Methods
cooldown
Check
cooldown
Check
(
msg
:
Message
<
TextableChannel
>
)
:
boolean
Parameters
msg:
Message
<
TextableChannel
>
Returns
boolean
cooldown
Exclusion
Check
cooldown
Exclusion
Check
(
msg
:
Message
<
TextableChannel
>
)
:
boolean
Parameters
msg:
Message
<
TextableChannel
>
Returns
boolean
execute
Command
execute
Command
(
msg
:
Message
<
TextableChannel
>
, args
:
string
[]
)
:
Promise
<
GeneratorFunctionReturn
>
Parameters
msg:
Message
<
TextableChannel
>
args:
string
[]
Returns
Promise
<
GeneratorFunctionReturn
>
permission
Check
permission
Check
(
msg
:
Message
<
TextableChannel
>
)
:
Promise
<
boolean
>
Parameters
msg:
Message
<
TextableChannel
>
Returns
Promise
<
boolean
>
process
process
(
args
:
string
[]
, msg
:
Message
<
TextableChannel
>
)
:
Promise
<
GeneratorFunctionReturn
>
Parameters
args:
string
[]
msg:
Message
<
TextableChannel
>
Returns
Promise
<
GeneratorFunctionReturn
>
register
Subcommand
register
Subcommand
(
label
:
string
, generator
:
CommandGenerator
, options
?:
CommandOptions
)
:
Command
Parameters
label:
string
generator:
CommandGenerator
Optional
options:
CommandOptions
Returns
Command
register
Subcommand
Alias
register
Subcommand
Alias
(
alias
:
string
, label
:
string
)
:
void
Parameters
alias:
string
label:
string
Returns
void
toJSON
toJSON
(
props
?:
string
[]
)
:
JSONCache
Parameters
Optional
props:
string
[]
Returns
JSONCache
to
String
to
String
(
)
:
string
Returns
string
unregister
Subcommand
unregister
Subcommand
(
label
:
string
)
:
void
Parameters
label:
string
Returns
void
Exports
Externals
Eris
Command
constructor
aliases
args
Required
case
Insensitive
cooldown
cooldown
Exclusions
cooldown
Message
cooldown
Returns
default
Subcommand
Options
delete
Command
description
dm
Only
error
Message
full
Description
full
Label
guild
Only
hidden
hooks
invalid
Usage
Message
label
parent
Command
permission
Message
reaction
Button
Timeout
reaction
Buttons
requirements
restart
Cooldown
subcommand
Aliases
subcommands
usage
cooldown
Check
cooldown
Exclusion
Check
execute
Command
permission
Check
process
register
Subcommand
register
Subcommand
Alias
toJSON
to
String
unregister
Subcommand
Generated using
TypeDoc