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