Readonly
categoryReadonly
controllersReadonly
dataProtected
Readonly
debugReadonly
enabledReadonly
idReadonly
idReadonly
interactionsReadonly
permissionsReadonly
resolverReadonly
throttleReadonly
typeProtected
Static
Readonly
defaultsReadonly
extendReadonly
extendReadonly
extendsReadonly
replyOptional
withResponse: WithResponseOptional
ephemeral: booleanReadonly
responseOptional
withResponse: WithResponseOptional
ephemeral: booleanReadonly
withRun a function, throttled by the configured throttle options.
The function to be called before the throttled function is executed, should return wether or not to proceed to fn
.
The function to be executed, can return a value or a promise. Not executed if before
returns false.
Whether or not to throttle auto-complete commands. If set to false, the function will be executed immediately.
A tuple of the result of the fn
function and a promise for the after
function.
Static
Readonly
buildStatic
Readonly
commandProtected
Static
Readonly
dataProtected
Static
Readonly
deferStatic
Readonly
findStatic
Readonly
getStatic
Readonly
getStatic
Readonly
handleProtected
Static
Readonly
handleStatic
Readonly
isStatic
Readonly
isStatic
Readonly
isStatic
Readonly
registerStatic
Readonly
resolveStatic
Readonly
resolveStatic
Readonly
run
Reply to an interaction with a message, dynamically resolving which reply function to use depending on wether or not the interaction has been acknowledged.
ephemeral
is resolved fromthis#isEphemeral
if not overriden.Please note that using MessageFlags in the
content
is not supported with a dynamic function like this. If you need specific flags, usereply
,editReply
,followUp
, etc. directly, instead of using this convenience method.