Currently, commands are case-sensitive. This PR allows for commands to be case insensitive (which is now the default option).
11 lines
422 B
C#
11 lines
422 B
C#
namespace Discord.Commands
|
|
{
|
|
public class CommandServiceConfig
|
|
{
|
|
/// <summary> The default RunMode commands should have, if one is not specified on the Command attribute or builder. </summary>
|
|
public RunMode DefaultRunMode { get; set; } = RunMode.Mixed;
|
|
/// <summary> Should commands be case-sensitive? </summary>
|
|
public bool CaseSensitiveCommands { get; set; } = false;
|
|
}
|
|
}
|