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 833 B

123456789101112131415161718
  1. namespace Discord.Commands
  2. {
  3. public class CommandServiceConfig
  4. {
  5. /// <summary> 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> Should commands 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> Gets or sets whether RunMode.Sync commands should push exceptions up to the caller. </summary>
  13. public bool ThrowOnError { get; set; } = true;
  14. }
  15. }