bot/src/commands/ping.ts
openaliro/openaliro
Module

ping.ts

@file /ping — the liveness check.

bot/src/commands/ping.ts

Overview

@file /ping — the liveness check. Answers only if the signature already verified, so a successful reply proves three things at once: the endpoint is reachable, the public key binding is the right one, and the Worker is inside the 3 second response deadline without deferring. That is the whole point of it, and it is why this command touches no binding: it must not be able to fail for a second reason.

depends on command.ts discord.ts  ·  used by index.ts

flowchart TD
  handler --> message
Undocumented (1)

handler