Add configuration option for case insensitive commands

Currently, commands are case-sensitive. This PR allows for commands to be case insensitive (which is now the default option).
This commit is contained in:
Christopher F
2016-11-25 23:56:20 -05:00
parent 2daf6cb16c
commit ecc3d9c729
3 changed files with 7 additions and 1 deletions

View File

@@ -7,9 +7,11 @@ using System.Threading.Tasks;
using System.Reflection;
using Discord.Commands.Builders;
using System.Diagnostics;
namespace Discord.Commands
{
[DebuggerDisplay("{Name,nq}")]
public class CommandInfo
{
private static readonly System.Reflection.MethodInfo _convertParamsMethod = typeof(CommandInfo).GetTypeInfo().GetDeclaredMethod(nameof(ConvertParamsList));