Constructor DiscordConfiguration
- Namespace
- DisCatSharp
- Assembly
- DisCatSharp.dll
DiscordConfiguration()
Creates a new configuration with default values.
public DiscordConfiguration()
DiscordConfiguration(IServiceProvider)
Utilized via dependency injection pipeline.
[ActivatorUtilitiesConstructor]
public DiscordConfiguration(IServiceProvider provider)
Parameters
provider
IServiceProviderThe service provider.
DiscordConfiguration(DiscordConfiguration)
Creates a clone of another discord configuration.
public DiscordConfiguration(DiscordConfiguration other)
Parameters
other
DiscordConfigurationClient configuration to clone.