# $eventData

Reads a scheduled event. Bot Creator function, not in the official BDFD wiki.

## Syntax

```
$eventData[eventID;(field);(guildID)]
```

## Parameters

| Parameter | Description |
|---|---|
| `eventID` | **Required.** The ID of the scheduled event. |
| `field` | Optional. The field to read, as a path (`owner_id`, `user.username`, `roles.0`; camelCase names work too). Empty: the whole object as JSON. |
| `guildID` | Optional. The ID of the server. Empty or absent: the current server. |

## Return Value

- The event as JSON, or the requested field.

## Example

```bdfd
$eventData[123456789;name]
```
