DispatchedCall
interface in meocord/testing Since 4.1.0
interface DispatchedCall extends InvocationResultWhat TestingModule.dispatch did with an interaction, a message or a reaction.
Members
ran
ran: booleanWhether any handler ran.
error
error?: unknownThe first error a handler's call ended with, or an error the built-in fallback answered as the
user's own outcome, such as a CommandNotFoundError.
handlers
handlers: DispatchedHandler[]Every handler dispatch reached, in the order it ran them; empty when none takes the input.