# EventSpec

`type` in `gateway` · v0.1.4

<https://docs.seedcord.org/packages/gateway/0.1.4/types/event-spec>

Tuple describing a single event and optional options.

## Declaration

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