$alertInfo returns one field of an alert of the current server. Reading does not need Manage Server.

## Parameters

| Parameter | Description |
|---|---|
| `alertID` | Required. The ID of the alert. |
| `field` | Required. `id`, `name`, `source`, `kind`, `channelID`, `action`, `status` or `lastError`. |

## Behavior

- `status` is `active` or `paused`. `lastError` is empty when the last check went well.
- An ID that is not an alert of this server fails with `alert_not_found`.

## Examples

```bdfd
$alertInfo[$message[1];status]
```

## JavaScript bots

`await bc.alert.info(id)` returns `{ id, name, source, kind, channelId, action, status, lastError }`.
