Skip to content

CommandRow

Defined in: packages/client/src/results.ts:84

One command in the answer to a commands query.

changePct: number | null

Defined in: packages/client/src/results.ts:90

Change against previousRuns, in percent. null when there were none.


command: string

Defined in: packages/client/src/results.ts:85


errorRate: number | null

Defined in: packages/client/src/results.ts:92

Share of runs that did not end ok, 0 to 1. null without runs.


kinds: string[]

Defined in: packages/client/src/results.ts:104

How the command ran or is registered: chat_input, message_command (prefix), user_context…


lastUsed: string | null

Defined in: packages/client/src/results.ts:98

Start of the last hour (or day, in ranges that reach back more than 13 months) the command ran in.


p95Ms: number | null

Defined in: packages/client/src/results.ts:94

95th percentile of the time to the first response, in milliseconds.


previousRuns: number

Defined in: packages/client/src/results.ts:88

Runs in the period of the same length just before the range.


registered: boolean

Defined in: packages/client/src/results.ts:102

Whether the bot has the command registered with Discord. false for prefix commands and removed commands.


runs: number

Defined in: packages/client/src/results.ts:86


servers: number

Defined in: packages/client/src/results.ts:96

Servers the command ran in.


uniqueUsersThisPeriod: number | null

Defined in: packages/client/src/results.ts:100

Unique users since periodStart. null until the hourly count has run.