# EventSpec

`type` in `gateway` · v0.1.0-next.3

<https://docs.seedcord.org/packages/gateway/0.1.0-next.3/types/event-spec>

Tuple describing a single event and optional options.

## Declaration

```ts
type EventSpec<EventKey extends ValidNonInteractionKeys> = readonly [
    event: EventKey,
    options?: RegisterEventOptions
];
```
