bot/src/commands/matrix.ts
openaliro/openaliro
Module
matrix.ts
@file /matrix — the compatibility matrix.
Overview
@file /matrix — the compatibility matrix.
Public and non-ephemeral: this is the artifact people screenshot, and a
screenshot of a message only its poster can see is not useful to anyone
else. Tries the PNG render first; falls back to the monospace table from
bot/README's "phase 3" both when the per-user cooldown is still active
(PNG rendering is the expensive path) and when rendering itself throws,
so a WASM or layout failure degrades the command instead of erroring it.
depends on command.ts cooldown.ts discord.ts followup.ts matrix.ts render.ts rigs.ts validations.ts · used by index.ts
flowchart TD handler --> checkMatrixCooldown handler --> deferRich handler --> invokerId handler --> latestValidations handler --> matrixCounts handler --> renderMatrixPng handler --> textFallback
Undocumented (2)
textFallback, handler