diff --git a/src/Discord.Net/DiscordConfig.cs b/src/Discord.Net/DiscordConfig.cs index 7fd338288..62512aae9 100644 --- a/src/Discord.Net/DiscordConfig.cs +++ b/src/Discord.Net/DiscordConfig.cs @@ -29,29 +29,29 @@ namespace Discord //Global - /// Name of your application. This is used both for the token cache directory and user agent. + /// Gets or sets name of your application, used both for the token cache directory and user agent. public string AppName { get { return _appName; } set { SetValue(ref _appName, value); UpdateUserAgent(); } } private string _appName = null; - /// Url to your application. This is used in the user agent. + /// Gets or sets url to your application, used in the user agent. public string AppUrl { get { return _appUrl; } set { SetValue(ref _appUrl, value); UpdateUserAgent(); } } private string _appUrl = null; - /// Version of your application. + /// Gets or sets the version of your application, used in the user agent. public string AppVersion { get { return _appVersion; } set { SetValue(ref _appVersion, value); UpdateUserAgent(); } } private string _appVersion = null; - /// Specifies the minimum log level severity that will be sent to the LogMessage event. Warning: setting this to debug will really hurt performance but should help investigate any internal issues. + /// Gets or sets the minimum log level severity that will be sent to the LogMessage event. Warning: setting this to debug will really hurt performance but should help investigate any internal issues. public LogSeverity LogLevel { get { return _logLevel; } set { SetValue(ref _logLevel, value); } } private LogSeverity _logLevel = LogSeverity.Info; /// Enables or disables the default event logger. public bool LogEvents { get { return _logEvents; } set { SetValue(ref _logEvents, value); } } private bool _logEvents = true; - /// User Agent string to use when connecting to Discord. + /// Gets the user agent used when connecting to Discord. public string UserAgent { get; private set; } //Rest - /// Max time (in milliseconds) to wait for an API request to complete. + /// Gets or sets the max time (in milliseconds) to wait for an API request to complete. public int RestTimeout { get { return _restTimeout; } set { SetValue(ref _restTimeout, value); } } private int _restTimeout = 10000; @@ -83,7 +83,7 @@ namespace Discord /// Cache an encrypted login token to temp dir after success login. public bool CacheToken { get { return _cacheToken; } set { SetValue(ref _cacheToken, value); } } private bool _cacheToken = true; - /// Instructs Discord to not send send information about offline users, for servers with more than 50 users. + /// Gets or sets whether Discord should send information about offline users, for servers with more than 100 users. public bool UseLargeThreshold { get { return _useLargeThreshold; } set { SetValue(ref _useLargeThreshold, value); } } private bool _useLargeThreshold = false; /// Gets or sets the number of messages per channel that should be kept in cache. Setting this to zero disables the message cache entirely.