custom reaction responses are no longer lowercase?

This commit is contained in:
Master Kwoth 2017-06-29 05:07:48 +02:00
parent 5fc9c18d98
commit 1df7e4d3d0

View File

@ -64,7 +64,7 @@ namespace NadekoBot.Services.CustomReactions
.WithOverride("%target%", () => ctx.Content.Substring(resolvedTrigger.Length).Trim()) .WithOverride("%target%", () => ctx.Content.Substring(resolvedTrigger.Length).Trim())
.Build(); .Build();
str = rep.Replace(str.ToLowerInvariant()); str = rep.Replace(str);
foreach (var ph in regexPlaceholders) foreach (var ph in regexPlaceholders)
{ {