Search
Preparing search index...
The search index is not available
Maclary
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Maclary
Precondition
Class Precondition
Abstract
Hierarchy
Base
Precondition
BotOwnerOnly
DMOnly
GuildOnly
GuildOwnerOnly
NSFW
Index
Constructors
constructor
Accessors
container
Methods
chat
Input
Run
context
Menu
Run
error
message
Run
ok
Constructors
constructor
new
Precondition
(
)
:
Precondition
Returns
Precondition
Accessors
Protected
container
get
container
(
)
:
Container
A reference to the container.
Returns
Container
Methods
Optional
chat
Input
Run
chat
Input
Run
(
message
:
Command
.
ChatInput
, command
:
Command
)
:
Result
|
Promise
<
Result
>
Parameters
message:
Command
.
ChatInput
command:
Command
Returns
Result
|
Promise
<
Result
>
Optional
context
Menu
Run
context
Menu
Run
(
message
:
Command
.
MessageContextMenu
|
Command
.
UserContextMenu
, command
:
Command
)
:
Result
|
Promise
<
Result
>
Parameters
message:
Command
.
MessageContextMenu
|
Command
.
UserContextMenu
command:
Command
Returns
Result
|
Promise
<
Result
>
error
error
(
message
:
string
, context
?:
any
)
:
Result
Parameters
message:
string
Optional
context:
any
Returns
Result
Optional
message
Run
message
Run
(
message
:
Command
.
Message
, command
:
Command
)
:
Result
|
Promise
<
Result
>
Parameters
message:
Command
.
Message
command:
Command
Returns
Result
|
Promise
<
Result
>
ok
ok
(
value
?:
any
)
:
Result
Parameters
Optional
value:
any
Returns
Result
Exports
Command
Component
Messages
Preconditions
Regexes
Precondition
constructor
container
chat
Input
Run
context
Menu
Run
error
message
Run
ok
A reference to the container.