# CommandInfo

`interface` in `core` · v0.5.0

<https://docs.seedcord.org/packages/core/0.5.0/interfaces/command-info>

What [`Commands`](/packages/core/0.5.0/variables/commands) resolves to for one slash route.

```ts
interface CommandInfo
```

## Properties

### description

```ts
readonly description: string
```

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

### id

```ts
readonly id: string
```

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

### mention

```ts
readonly mention: string
```

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

### route

```ts
readonly route: string
```

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