> ## 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.

# ChaosOptions

> Interface exported by @botmesh/core/testing.

Defined in: [testing/chaos.ts:265](https://github.com/andresayac/botmesh/blob/main/packages/core/src/testing/chaos.ts#L265)

All chaos knobs. Every field is optional; `{}` is a transparent wrapper.

## Properties

### seed?

```ts theme={null}
seed?: number;
```

Defined in: [testing/chaos.ts:267](https://github.com/andresayac/botmesh/blob/main/packages/core/src/testing/chaos.ts#L267)

PRNG seed. Same seed + same call sequence → same chaos. Default `1`.

***

### duplicates?

```ts theme={null}
duplicates?: number | ChaosDuplicateOptions;
```

Defined in: [testing/chaos.ts:269](https://github.com/andresayac/botmesh/blob/main/packages/core/src/testing/chaos.ts#L269)

A probability, or full [ChaosDuplicateOptions](https://botmesh.afaya.com.co/api/core/testing/interfaces/ChaosDuplicateOptions.md).

***

### reorder?

```ts theme={null}
reorder?: number | ChaosReorderOptions;
```

Defined in: [testing/chaos.ts:271](https://github.com/andresayac/botmesh/blob/main/packages/core/src/testing/chaos.ts#L271)

A window size, or full [ChaosReorderOptions](https://botmesh.afaya.com.co/api/core/testing/interfaces/ChaosReorderOptions.md).

***

### latency?

```ts theme={null}
latency?: ChaosDelay;
```

Defined in: [testing/chaos.ts:273](https://github.com/andresayac/botmesh/blob/main/packages/core/src/testing/chaos.ts#L273)

Inbound delay per event.

***

### sendFailures?

```ts theme={null}
sendFailures?: number | ChaosSendFailureOptions;
```

Defined in: [testing/chaos.ts:275](https://github.com/andresayac/botmesh/blob/main/packages/core/src/testing/chaos.ts#L275)

A probability, or full [ChaosSendFailureOptions](https://botmesh.afaya.com.co/api/core/testing/interfaces/ChaosSendFailureOptions.md).

***

### sendLatency?

```ts theme={null}
sendLatency?: ChaosDelay;
```

Defined in: [testing/chaos.ts:277](https://github.com/andresayac/botmesh/blob/main/packages/core/src/testing/chaos.ts#L277)

Outbound delay per send.

***

### disconnects?

```ts theme={null}
disconnects?: ChaosDisconnectOptions;
```

Defined in: [testing/chaos.ts:279](https://github.com/andresayac/botmesh/blob/main/packages/core/src/testing/chaos.ts#L279)

Automatic connection drops (manual ones: [ChaosProvider.disconnect](https://botmesh.afaya.com.co/api/core/testing/classes/ChaosProvider.md#disconnect)).

***

### aliases?

```ts theme={null}
aliases?: ChaosAliasOptions;
```

Defined in: [testing/chaos.ts:281](https://github.com/andresayac/botmesh/blob/main/packages/core/src/testing/chaos.ts#L281)

Alias identities for the same human.

***

### kinds?

```ts theme={null}
kinds?: readonly (
  | "call"
  | "group"
  | "status"
  | "reaction"
  | "poll-vote"
  | "connection"
  | "presence"
  | "message"
  | "interaction")[];
```

Defined in: [testing/chaos.ts:286](https://github.com/andresayac/botmesh/blob/main/packages/core/src/testing/chaos.ts#L286)

Inbound event kinds the chaos applies to. Default `['message', 'interaction']`.
`connection` events always pass straight through.


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