> ## Documentation Index
> Fetch the complete documentation index at: https://botmesh.afaya.com.co/llms.txt
> Use this file to discover all available pages before exploring further.

# BotEventArgs<K>

> Type alias exported by @botmesh/core.

```ts theme={null}
type BotEventArgs<K> = BotEvents[K] extends void ? [] : [BotEvents[K]];
```

Defined in: [core/Bot.ts:189](https://github.com/andresayac/botmesh/blob/main/packages/core/src/core/Bot.ts#L189)

Listener arguments of a [BotEvents](https://botmesh.afaya.com.co/api/core/interfaces/BotEvents.md) entry (none for `void` events).

## Type Parameters

| Type Parameter |
| - |
|  `K` *extends* keyof [`BotEvents`](https://botmesh.afaya.com.co/api/core/interfaces/BotEvents) |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.