GatewayClientOptions constructor
- {int minimumSessionStarts = 10,
- List<
NyxxPlugin< plugins = const [],Nyxx> > - String loggerName = 'Nyxx',
- Duration? rateLimitWarningThreshold = const Duration(seconds: 10),
- CacheConfig<
User> userCacheConfig = const CacheConfig(), - CacheConfig<
Channel> channelCacheConfig = const CacheConfig(), - CacheConfig<
Message> messageCacheConfig = const CacheConfig(), - CacheConfig<
Webhook> webhookCacheConfig = const CacheConfig(), - CacheConfig<
Guild> guildCacheConfig = const CacheConfig(), - CacheConfig<
Member> memberCacheConfig = const CacheConfig(), - CacheConfig<
Role> roleCacheConfig = const CacheConfig(), - CacheConfig<
StageInstance> stageInstanceCacheConfig = const CacheConfig(), - CacheConfig<
ScheduledEvent> scheduledEventCacheConfig = const CacheConfig(), - CacheConfig<
AutoModerationRule> autoModerationRuleConfig = const CacheConfig(), - CacheConfig<
Integration> integrationConfig = const CacheConfig(), - CacheConfig<
AuditLogEntry> auditLogEntryConfig = const CacheConfig(), - CacheConfig<
VoiceState> voiceStateConfig = const CacheConfig(), - CacheConfig<
ApplicationCommand> applicationCommandConfig = const CacheConfig(), - CacheConfig<
CommandPermissions> commandPermissionsConfig = const CacheConfig(), - CacheConfig<
Entitlement> entitlementConfig = const CacheConfig()}
Create a new GatewayClientOptions.
Implementation
const GatewayClientOptions({
this.minimumSessionStarts = 10,
super.plugins,
super.loggerName,
super.rateLimitWarningThreshold,
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,
});