# $interactionData

Reads what the current interaction carries (never its token): `id`, `applicationId`, `type`… The whole set as JSON without a field. Bot Creator function, not in the official BDFD wiki.

## Syntax

```
$interactionData[(field)]
```

## Parameters

| Parameter | Description |
|---|---|
| `field` | Optional. A field name. Empty: JSON. |

## Return Value

- JSON or the requested field.

## Example

```bdfd
$interactionData[type]
```
