From 35fe0b3826ef81474132deea5d372eed8598d128 Mon Sep 17 00:00:00 2001 From: Kwoth Date: Tue, 18 Oct 2016 03:31:28 +0200 Subject: [PATCH] Custom reaction fixed capitalization? version is beta1 now --- src/NadekoBot/Modules/CustomReactions/Extensions.cs | 4 ++-- src/NadekoBot/Services/Impl/StatsService.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/NadekoBot/Modules/CustomReactions/Extensions.cs b/src/NadekoBot/Modules/CustomReactions/Extensions.cs index 91c3db20..bc668931 100644 --- a/src/NadekoBot/Modules/CustomReactions/Extensions.cs +++ b/src/NadekoBot/Modules/CustomReactions/Extensions.cs @@ -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; } diff --git a/src/NadekoBot/Services/Impl/StatsService.cs b/src/NadekoBot/Services/Impl/StatsService.cs index 1c84cf63..61a27233 100644 --- a/src/NadekoBot/Services/Impl/StatsService.cs +++ b/src/NadekoBot/Services/Impl/StatsService.cs @@ -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();