Browse Source

Improve Upon Property Documentation

Having the `CaseSensitiveCommands` property summary asking a question whenever Intellisense is invoked seems a bit nonessential instead of properly explaining what exactly it does. It would be better if instead, it stated it's use to be more comprehensible to the reader.
pull/839/head
Vollrat GitHub 8 years ago
parent
commit
e9a49e2793
1 changed files with 5 additions and 4 deletions
  1. +5
    -4
      src/Discord.Net.Commands/CommandServiceConfig.cs

+ 5
- 4
src/Discord.Net.Commands/CommandServiceConfig.cs View File

@@ -2,17 +2,18 @@
{ {
public class CommandServiceConfig public class CommandServiceConfig
{ {
/// <summary> The default RunMode commands should have, if one is not specified on the Command attribute or builder. </summary>
/// <summary> Gets or sets the default RunMode commands should have, if one is not specified on the Command attribute or builder. </summary>
public RunMode DefaultRunMode { get; set; } = RunMode.Sync; public RunMode DefaultRunMode { get; set; } = RunMode.Sync;


public char SeparatorChar { get; set; } = ' '; public char SeparatorChar { get; set; } = ' ';
/// <summary> Should commands be case-sensitive? </summary>
/// <summary> Determines whether commands should be case-sensitive. </summary>
public bool CaseSensitiveCommands { get; set; } = false; public bool CaseSensitiveCommands { get; set; } = false;


/// <summary> Gets or sets the minimum log level severity that will be sent to the Log event. </summary> /// <summary> Gets or sets the minimum log level severity that will be sent to the Log event. </summary>
public LogSeverity LogLevel { get; set; } = LogSeverity.Info; public LogSeverity LogLevel { get; set; } = LogSeverity.Info;


/// <summary> Gets or sets whether RunMode.Sync commands should push exceptions up to the caller. </summary>
/// <summary> Determines whether RunMode.Sync commands should push exceptions up to the caller. </summary>
public bool ThrowOnError { get; set; } = true; public bool ThrowOnError { get; set; } = true;
} }
}
}

Loading…
Cancel
Save