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;
}

View File

@ -17,7 +17,7 @@ namespace NadekoBot.Services.Impl
private DateTime started;
private int commandsRan = 0;
public string BotVersion => "1.0-alpha";
public string BotVersion => "1.0-beta1";
public string Heap => Math.Round((double)GC.GetTotalMemory(false) / 1.MiB(), 2).ToString();