interface BotOptions

Options for the Bot constructor.


service?: string

The PDS to connect to.

Default: ""

langs?: string[]

The default list of languages to attach to posts.

Default: ["en"]

emitEvents?: boolean

Whether to emit events.

Default: true

emitChatEvents?: boolean

Whether to emit chatMessage events (this is independent of emitEvents).

Default: false

rateLimitOptions?: RateLimitOptions

Options for the built-in rate limiter.

cacheOptions?: CacheOptions

Options for the request cache.

eventEmitterOptions?: BotEventEmitterOptions

Options for the event emitter.