GatewayClientOptions constructor

const GatewayClientOptions({
  1. int minimumSessionStarts = 10,
  2. List<NyxxPlugin<Nyxx>> plugins = const [],
  3. String loggerName = 'Nyxx',
  4. CacheConfig<User> userCacheConfig = const CacheConfig(),
  5. CacheConfig<Channel> channelCacheConfig = const CacheConfig(),
  6. CacheConfig<Message> messageCacheConfig = const CacheConfig(),
  7. CacheConfig<Webhook> webhookCacheConfig = const CacheConfig(),
  8. CacheConfig<Guild> guildCacheConfig = const CacheConfig(),
  9. CacheConfig<Member> memberCacheConfig = const CacheConfig(),
  10. CacheConfig<Role> roleCacheConfig = const CacheConfig(),
  11. CacheConfig<StageInstance> stageInstanceCacheConfig = const CacheConfig(),
  12. CacheConfig<ScheduledEvent> scheduledEventCacheConfig = const CacheConfig(),
  13. CacheConfig<AutoModerationRule> autoModerationRuleConfig = const CacheConfig(),
  14. CacheConfig<Integration> integrationConfig = const CacheConfig(),
  15. CacheConfig<AuditLogEntry> auditLogEntryConfig = const CacheConfig(),
  16. CacheConfig<VoiceState> voiceStateConfig = const CacheConfig(),
  17. CacheConfig<ApplicationCommand> applicationCommandConfig = const CacheConfig(),
  18. CacheConfig<CommandPermissions> commandPermissionsConfig = const CacheConfig(),
  19. CacheConfig<Entitlement> entitlementConfig = const CacheConfig(),
})

Create a new GatewayClientOptions.

Implementation

const GatewayClientOptions({
  this.minimumSessionStarts = 10,
  super.plugins,
  super.loggerName,
  super.userCacheConfig,
  super.channelCacheConfig,
  super.messageCacheConfig,
  super.webhookCacheConfig,
  super.guildCacheConfig,
  super.memberCacheConfig,
  super.roleCacheConfig,
  super.stageInstanceCacheConfig,
  super.scheduledEventCacheConfig,
  super.autoModerationRuleConfig,
  super.integrationConfig,
  super.auditLogEntryConfig,
  super.voiceStateConfig,
  super.applicationCommandConfig,
  super.commandPermissionsConfig,
  super.entitlementConfig,
});