Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ClientOptions

Hierarchy

Index

Properties

Optional agent

agent: undefined | Agent
deprecated

Optional allowedMentions

allowedMentions: undefined | AllowedMentions

Optional autoreconnect

autoreconnect: undefined | boolean

Optional compress

compress: undefined | boolean

Optional connectionTimeout

connectionTimeout: undefined | number

Optional defaultImageFormat

defaultImageFormat: undefined | string

Optional defaultImageSize

defaultImageSize: undefined | number

Optional disableEvents

disableEvents: undefined | {}

Optional firstShardID

firstShardID: undefined | number

Optional getAllUsers

getAllUsers: undefined | boolean

Optional guildCreateTimeout

guildCreateTimeout: undefined | number

Optional guildSubscriptions

guildSubscriptions: undefined | boolean

Optional intents

intents: undefined | number | ("guilds" | "guildMembers" | "guildBans" | "guildEmojis" | "guildIntegrations" | "guildWebhooks" | "guildInvites" | "guildVoiceStates" | "guildPresences" | "guildMessages" | "guildMessageReactions" | "guildMessageTyping" | "directMessages" | "directMessageReactions" | "directMessageTyping")[]

Optional largeThreshold

largeThreshold: undefined | number

Optional lastShardID

lastShardID: undefined | number

Optional latencyThreshold

latencyThreshold: undefined | number
deprecated

Optional maxReconnectAttempts

maxReconnectAttempts: undefined | number

Optional maxResumeAttempts

maxResumeAttempts: undefined | number

Optional maxShards

maxShards: undefined | number | "auto"

Optional messageLimit

messageLimit: undefined | number

Optional opusOnly

opusOnly: undefined | boolean

Optional ratelimiterOffset

ratelimiterOffset: undefined | number
deprecated

Optional reconnectDelay

reconnectDelay: undefined | ReconnectDelayFunction

Optional requestTimeout

requestTimeout: undefined | number

Optional rest

rest: undefined | RequestHandlerOptions

Optional restMode

restMode: undefined | boolean

Optional seedVoiceConnections

seedVoiceConnections: undefined | boolean

Optional ws

ws: unknown

Generated using TypeDoc