Search
Preparing search index...
The search index is not available
Maclary
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Maclary
Preconditions
BotOwnerOnly
Class BotOwnerOnly
Hierarchy
Precondition
BotOwnerOnly
Index
Constructors
constructor
Accessors
container
Methods
chat
Input
Run
context
Menu
Run
error
message
Run
ok
shared
Run
Constructors
constructor
new
Bot
Owner
Only
(
)
:
BotOwnerOnly
Returns
BotOwnerOnly
Accessors
Protected
container
get
container
(
)
:
Container
A reference to the container.
Returns
Container
Methods
chat
Input
Run
chat
Input
Run
(
interaction
:
Command
.
ChatInput
)
:
Result
Parameters
interaction:
Command
.
ChatInput
Returns
Result
context
Menu
Run
context
Menu
Run
(
interaction
:
Command
.
MessageContextMenu
|
Command
.
UserContextMenu
)
:
Result
Parameters
interaction:
Command
.
MessageContextMenu
|
Command
.
UserContextMenu
Returns
Result
error
error
(
message
:
string
, context
?:
any
)
:
Result
Parameters
message:
string
Optional
context:
any
Returns
Result
message
Run
message
Run
(
message
:
Command
.
Message
)
:
Result
Parameters
message:
Command
.
Message
Returns
Result
ok
ok
(
value
?:
any
)
:
Result
Parameters
Optional
value:
any
Returns
Result
Private
shared
Run
shared
Run
(
userId
:
string
)
:
Result
Parameters
userId:
string
Returns
Result
Exports
Command
Component
Messages
Preconditions
Regexes
Bot
Owner
Only
constructor
container
chat
Input
Run
context
Menu
Run
error
message
Run
ok
shared
Run
A reference to the container.