HandlerResult
Defined in: packages/discordjs/src/index.ts:80
How a handler went, for Shardlens.handlerFinished.
Properties
Section titled “Properties”durationMs?
Section titled “durationMs?”
optionaldurationMs?:number
Defined in: packages/discordjs/src/index.ts:82
How long the handler ran, in milliseconds. Measured from handlerStarted() when left out.
error?
Section titled “error?”
optionalerror?:unknown
Defined in: packages/discordjs/src/index.ts:84
What the handler threw, if anything. Only its class name and Discord error code are recorded.