# BaseHandler

`class` in `gateway` · v0.1.4

<https://docs.seedcord.org/packages/gateway/0.1.4/classes/base-handler>

The gateway base, fixes the core base's `TCore` to the gateway [`Core`](/packages/gateway/0.1.4/interfaces/core) and adds the `getEvent` gate hook.

```ts
abstract class BaseHandler<
    ValidEvent extends ValidEventTypes
> extends BaseHandler<ValidEvent, Core>
```

## Methods

### getEvent

```ts
public getEvent(): ValidEvent
```
