type GatewayIntentsOption

The intents option

Determines what intents to use.

If set to a IntentsResolvable it will be used as the intents.

If set to 'auto', it will automatically detect the intents based on middleware.

If set to an object, it will use 'auto', but you are able to configure the intents for threadMembersUpdate and typingStart as they will not have an intent by default.

BitFieldResolvable<GatewayIntentsString, number> | 'auto' | {
    threadMembersUpdate?: 'guild' | 'member' | 'both';
    typingStart?: 'guild' | 'dm' | 'both';
}