ClientOptions constructor

ClientOptions({
  1. AllowedMentions? allowedMentions,
  2. int? shardCount,
  3. int messageCacheSize = 100,
  4. int largeThreshold = 50,
  5. bool compressedGatewayPayloads = true,
  6. bool guildSubscriptions = true,
  7. PresenceBuilder? initialPresence,
  8. ShutdownHook? shutdownHook,
  9. ShutdownShardHook? shutdownShardHook,
  10. bool dispatchRawShardEvent = false,
})

Makes a new ClientOptions object.

Implementation

ClientOptions(
    {this.allowedMentions,
    this.shardCount,
    this.messageCacheSize = 100,
    this.largeThreshold = 50,
    this.compressedGatewayPayloads = true,
    this.guildSubscriptions = true,
    this.initialPresence,
    this.shutdownHook,
    this.shutdownShardHook,
    this.dispatchRawShardEvent = false });