You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

CommandServiceConfig.cs 873 B

12345678910111213141516171819
  1. namespace Discord.Commands
  2. {
  3. public class CommandServiceConfig
  4. {
  5. /// <summary> Gets or sets the default RunMode commands should have, if one is not specified on the Command attribute or builder. </summary>
  6. public RunMode DefaultRunMode { get; set; } = RunMode.Sync;
  7. public char SeparatorChar { get; set; } = ' ';
  8. /// <summary> Determines whether commands should be case-sensitive. </summary>
  9. public bool CaseSensitiveCommands { get; set; } = false;
  10. /// <summary> Gets or sets the minimum log level severity that will be sent to the Log event. </summary>
  11. public LogSeverity LogLevel { get; set; } = LogSeverity.Info;
  12. /// <summary> Determines whether RunMode.Sync commands should push exceptions up to the caller. </summary>
  13. public bool ThrowOnError { get; set; } = true;
  14. }
  15. }