# Subscriptions

`interface` in `core` · v0.6.0

<https://docs.seedcord.org/packages/core/0.6.0/interfaces/subscriptions>

Custom subscribers defined by the application. Augment it via declaration merging to type your own subscriber payloads.

```ts
interface Subscriptions
```

## Examples

```ts
// the transport package your bot installs, '@seedcord/gateway' or '@seedcord/http'
declare module '@seedcord/gateway' {
  interface Subscriptions {
    'userJoin': { userId: string; guildId: string };
    'levelUp': { userId: string; level: number };
  }
}
```
