# EventSpec

`type` in `gateway` · v0.7.5

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

Tuple describing a single event and optional options.

## Declaration

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