You are reading the documentation for the next version of discord.js. Documentation for v13/v14+ has been moved to old.discordjs.dev

RedisBrokerOptions

export declare interface RedisBrokerOptions extends BaseBrokerOptions
export declare interface RedisBrokerOptions extends BaseBrokerOptions
Options specific for a Redis broker
blockTimeout?:number
How long to block for messages when polling
Inherited from BaseBrokerOptions
decode?:(data: Buffer_2) => unknown
Function to use for decoding messages
Inherited from BaseBrokerOptions
encode?:(data: unknown) => Buffer_2
Function to use for encoding messages
Inherited from BaseBrokerOptions
maxChunk?:number
Max number of messages to poll at once
Inherited from BaseBrokerOptions
name?:string
Unique consumer name.
Inherited from BaseBrokerOptions
redisClient:Redis
The Redis client to use