Skip to content
Interfacecorev0.10.0

CommandInfo

What Commands resolves to for one slash route.

interface CommandInfo

description

The route's own description, taken from the subcommand for a nested route.

readonly description: string

id

The deployed command id. Absent when the command deployed to two or more guilds.

readonly id?: string

mention

The clickable </config set:id> mention. A route whose id did not resolve falls back to /config set.

readonly mention: string

route

The full route, e.g. config/set.

readonly route: string