ClientOptions constructor
ClientOptions({
- AllowedMentions? allowedMentions,
- int? shardCount,
- int messageCacheSize = 100,
- int largeThreshold = 50,
- bool compressedGatewayPayloads = true,
- bool guildSubscriptions = true,
- PresenceBuilder? initialPresence,
- ShutdownHook? shutdownHook,
- ShutdownShardHook? shutdownShardHook,
- 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 });