Properties
Optional agent
agent: Agent
Optional allowMention
allowMention: boolean
Optional autoreconnect
autoreconnect: boolean
Optional caseSensitiveCommands
caseSensitiveCommands: boolean
Optional caseSensitivePrefix
caseSensitivePrefix: boolean
Optional compress
compress: boolean
Optional connectionTimeout
connectionTimeout: number
Optional defaultImageFormat
defaultImageFormat: string
Optional defaultImageSize
defaultImageSize: number
Optional disableDefaultMessageListener
disableDefaultMessageListener: boolean
Optional disableEvents
disableEvents: {}
Optional firstShardID
firstShardID: number
Optional getAllUsers
getAllUsers: boolean
Optional globalCommandRequirements
Optional guildCreateTimeout
guildCreateTimeout: number
Optional guildSubscriptions
guildSubscriptions: boolean
Optional ignoreBots
ignoreBots: boolean
Optional ignoreGlobalRequirements
ignoreGlobalRequirements: boolean
Optional intents
intents: number | ("guilds" | "guildMembers" | "guildBans" | "guildEmojis" | "guildIntegrations" | "guildWebhooks" | "guildInvites" | "guildVoiceStates" | "guildPresences" | "guildMessages" | "guildMessageReactions" | "guildMessageTyping" | "directMessages" | "directMessageReactions" | "directMessageTyping")[]
Optional largeThreshold
largeThreshold: number
Optional lastShardID
lastShardID: number
Optional latencyThreshold
latencyThreshold: number
Optional maxReconnectAttempts
maxReconnectAttempts: number
Optional maxResumeAttempts
maxResumeAttempts: number
Optional maxShards
maxShards: number | "auto"
Optional messageLimit
messageLimit: number
Optional opusOnly
opusOnly: boolean
Optional ratelimiterOffset
ratelimiterOffset: number
Optional requestTimeout
requestTimeout: number
Optional restMode
restMode: boolean
Optional seedVoiceConnections
seedVoiceConnections: boolean
The options passed to the client constructor. Includes Eris options.