ignore case when matching tags

This commit is contained in:
13xforever 2020-05-23 15:02:56 +05:00
parent 77c6981d92
commit 508fdd73f0

View File

@ -36,7 +36,7 @@ namespace CompatBot.Commands
{
private static readonly Color[] DefaultColors = {Color.DeepSkyBlue, Color.DarkOliveGreen, Color.OrangeRed, };
private static readonly Dictionary<string, string[]> Reactions = new Dictionary<string, string[]>
private static readonly Dictionary<string, string[]> Reactions = new Dictionary<string, string[]>(StringComparer.OrdinalIgnoreCase)
{
["cat"] = BotStats.GoodKot,
["dog"] = BotStats.GoodDog,