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 ignoreBots
ignoreBots: boolean
Optional ignoreGlobalRequirements
ignoreGlobalRequirements: boolean
intents
intents: number | (number | "guilds" | "guildMembers" | "guildBans" | "guildEmojisAndStickers" | "guildEmojis" | "guildIntegrations" | "guildWebhooks" | "guildInvites" | "guildVoiceStates" | "guildPresences" | "guildMessages" | "guildMessageReactions" | "guildMessageTyping" | "directMessages" | "directMessageReactions" | "directMessageTyping" | "allNonPrivileged" | "allPrivileged" | "all")[]
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
Optional shardConcurrency
shardConcurrency: number | "auto"
The options passed to the client constructor. Includes Eris options.