From a4f2735c64bf3de178efff4e7d8c98edb630506a Mon Sep 17 00:00:00 2001 From: Ske Date: Fri, 19 Jul 2019 14:54:40 +0200 Subject: [PATCH] Make color set command case-insensitive --- PluralKit.Bot/Commands/MemberCommands.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PluralKit.Bot/Commands/MemberCommands.cs b/PluralKit.Bot/Commands/MemberCommands.cs index 03874d80..e1e3349e 100644 --- a/PluralKit.Bot/Commands/MemberCommands.cs +++ b/PluralKit.Bot/Commands/MemberCommands.cs @@ -114,7 +114,7 @@ namespace PluralKit.Bot.Commands if (color != null) { if (color.StartsWith("#")) color = color.Substring(1); - if (!Regex.IsMatch(color, "^[0-9a-f]{6}$")) throw Errors.InvalidColorError(color); + if (!Regex.IsMatch(color, "^[0-9a-fA-F]{6}$")) throw Errors.InvalidColorError(color); } ContextEntity.Color = color;