Custom reaction fixed capitalization? version is beta1 now

This commit is contained in:
Kwoth
2016-10-18 03:31:28 +02:00
parent 75920cad54
commit 35fe0b3826
2 changed files with 3 additions and 3 deletions

View File

@@ -37,12 +37,12 @@ namespace NadekoBot.Modules.CustomReactions
{
foreach (var ph in placeholders)
{
str = str.ToLowerInvariant().Replace(ph.Key.ToLowerInvariant(), ph.Value(ctx));
str = str.Replace(ph.Key.ToLowerInvariant(), ph.Value(ctx));
}
foreach (var ph in responsePlaceholders)
{
str = str.ToLowerInvariant().Replace(ph.Key.ToLowerInvariant(), ph.Value(ctx, resolvedTrigger));
str = str.Replace(ph.Key.ToLowerInvariant(), ph.Value(ctx, resolvedTrigger));
}
return str;
}