Search
Preparing search index...
The search index is not available
Detritus Client
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Detritus Client
command/command
Module command/command
Index
Command Classes
Command
Command Options Interfaces
Command
Options
Command Type aliases
Command
Callback
Before
Command
Callback
Before
Run
Command
Callback
Cancel
Command
Callback
Cancel
Run
Command
Callback
DmBlocked
Command
Callback
Error
Command
Callback
Permissions
Fail
Command
Callback
Ratelimit
Command
Callback
Run
Command
Callback
Run
Error
Command
Callback
Success
Command
Callback
Type
Error
Other Type aliases
Command
Ratelimit
Info
Command
Ratelimit
Metadata
Failed
Permissions
Command Type aliases
Command
Callback
Before
Command
Callback
Before
:
(
context
:
Context
)
=>
Promise
<
boolean
>
|
boolean
Type declaration
(
context
:
Context
)
:
Promise
<
boolean
>
|
boolean
Parameters
context:
Context
Returns
Promise
<
boolean
>
|
boolean
Command
Callback
Before
Run
Command
Callback
Before
Run
:
(
context
:
Context
, args
:
ParsedArgs
)
=>
Promise
<
boolean
>
|
boolean
Type declaration
(
context
:
Context
, args
:
ParsedArgs
)
:
Promise
<
boolean
>
|
boolean
Parameters
context:
Context
args:
ParsedArgs
Returns
Promise
<
boolean
>
|
boolean
Command
Callback
Cancel
Command
Callback
Cancel
:
(
context
:
Context
)
=>
Promise
<
any
|
Message
>
|
any
|
Message
Type declaration
(
context
:
Context
)
:
Promise
<
any
|
Message
>
|
any
|
Message
Parameters
context:
Context
Returns
Promise
<
any
|
Message
>
|
any
|
Message
Command
Callback
Cancel
Run
Command
Callback
Cancel
Run
:
(
context
:
Context
, args
:
ParsedArgs
)
=>
Promise
<
any
|
Message
>
|
any
|
Message
Type declaration
(
context
:
Context
, args
:
ParsedArgs
)
:
Promise
<
any
|
Message
>
|
any
|
Message
Parameters
context:
Context
args:
ParsedArgs
Returns
Promise
<
any
|
Message
>
|
any
|
Message
Command
Callback
DmBlocked
Command
Callback
DmBlocked
:
(
context
:
Context
)
=>
Promise
<
any
|
Message
>
|
any
|
Message
Type declaration
(
context
:
Context
)
:
Promise
<
any
|
Message
>
|
any
|
Message
Parameters
context:
Context
Returns
Promise
<
any
|
Message
>
|
any
|
Message
Command
Callback
Error
Command
Callback
Error
:
(
context
:
Context
, args
:
ParsedArgs
, error
:
any
)
=>
Promise
<
any
>
|
any
Type declaration
(
context
:
Context
, args
:
ParsedArgs
, error
:
any
)
:
Promise
<
any
>
|
any
Parameters
context:
Context
args:
ParsedArgs
error:
any
Returns
Promise
<
any
>
|
any
Command
Callback
Permissions
Fail
Command
Callback
Permissions
Fail
:
(
context
:
Context
, permissions
:
FailedPermissions
)
=>
Promise
<
any
|
Message
>
|
any
|
Message
Type declaration
(
context
:
Context
, permissions
:
FailedPermissions
)
:
Promise
<
any
|
Message
>
|
any
|
Message
Parameters
context:
Context
permissions:
FailedPermissions
Returns
Promise
<
any
|
Message
>
|
any
|
Message
Command
Callback
Ratelimit
Command
Callback
Ratelimit
:
(
context
:
Context
, ratelimits
:
CommandRatelimitInfo
[]
, metadata
:
CommandRatelimitMetadata
)
=>
Promise
<
any
|
Message
>
|
any
|
Message
Type declaration
(
context
:
Context
, ratelimits
:
CommandRatelimitInfo
[]
, metadata
:
CommandRatelimitMetadata
)
:
Promise
<
any
|
Message
>
|
any
|
Message
Parameters
context:
Context
ratelimits:
CommandRatelimitInfo
[]
metadata:
CommandRatelimitMetadata
Returns
Promise
<
any
|
Message
>
|
any
|
Message
Command
Callback
Run
Command
Callback
Run
:
(
context
:
Context
, args
:
ParsedArgs
)
=>
Promise
<
any
|
Message
>
|
any
|
Message
Type declaration
(
context
:
Context
, args
:
ParsedArgs
)
:
Promise
<
any
|
Message
>
|
any
|
Message
Parameters
context:
Context
args:
ParsedArgs
Returns
Promise
<
any
|
Message
>
|
any
|
Message
Command
Callback
Run
Error
Command
Callback
Run
Error
:
(
context
:
Context
, args
:
ParsedArgs
, error
:
any
)
=>
Promise
<
any
>
|
any
Type declaration
(
context
:
Context
, args
:
ParsedArgs
, error
:
any
)
:
Promise
<
any
>
|
any
Parameters
context:
Context
args:
ParsedArgs
error:
any
Returns
Promise
<
any
>
|
any
Command
Callback
Success
Command
Callback
Success
:
(
context
:
Context
, args
:
ParsedArgs
)
=>
Promise
<
any
>
|
any
Type declaration
(
context
:
Context
, args
:
ParsedArgs
)
:
Promise
<
any
>
|
any
Parameters
context:
Context
args:
ParsedArgs
Returns
Promise
<
any
>
|
any
Command
Callback
Type
Error
Command
Callback
Type
Error
:
(
context
:
Context
, args
:
ParsedArgs
, errors
:
ParsedErrors
)
=>
Promise
<
any
|
Message
>
|
any
|
Message
Type declaration
(
context
:
Context
, args
:
ParsedArgs
, errors
:
ParsedErrors
)
:
Promise
<
any
|
Message
>
|
any
|
Message
Parameters
context:
Context
args:
ParsedArgs
errors:
ParsedErrors
Returns
Promise
<
any
|
Message
>
|
any
|
Message
Other Type aliases
Command
Ratelimit
Info
Command
Ratelimit
Info
:
{
item
:
CommandRatelimitItem
;
ratelimit
:
CommandRatelimit
;
remaining
:
number
}
Type declaration
item
:
CommandRatelimitItem
ratelimit
:
CommandRatelimit
remaining
:
number
Command
Ratelimit
Metadata
Command
Ratelimit
Metadata
:
{
global
:
boolean
;
now
:
number
}
Type declaration
global
:
boolean
now
:
number
Failed
Permissions
Failed
Permissions
:
bigint
[]
Exports
command/command
Command
Command
Options
Command
Callback
Before
Command
Callback
Before
Run
Command
Callback
Cancel
Command
Callback
Cancel
Run
Command
Callback
DmBlocked
Command
Callback
Error
Command
Callback
Permissions
Fail
Command
Callback
Ratelimit
Command
Callback
Run
Command
Callback
Run
Error
Command
Callback
Success
Command
Callback
Type
Error
Command
Ratelimit
Info
Command
Ratelimit
Metadata
Failed
Permissions
Generated using
TypeDoc