CommandRow
Defined in: packages/client/src/results.ts:84
One command in the answer to a commands query.
Properties
Section titled “Properties”changePct
Section titled “changePct”changePct:
number|null
Defined in: packages/client/src/results.ts:90
Change against previousRuns, in percent. null when there were none.
command
Section titled “command”command:
string
Defined in: packages/client/src/results.ts:85
errorRate
Section titled “errorRate”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
Section titled “lastUsed”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
Section titled “previousRuns”previousRuns:
number
Defined in: packages/client/src/results.ts:88
Runs in the period of the same length just before the range.
registered
Section titled “registered”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
Section titled “servers”servers:
number
Defined in: packages/client/src/results.ts:96
Servers the command ran in.
uniqueUsersThisPeriod
Section titled “uniqueUsersThisPeriod”uniqueUsersThisPeriod:
number|null
Defined in: packages/client/src/results.ts:100
Unique users since periodStart. null until the hourly count has run.