Custom reaction fixed capitalization? version is beta1 now
This commit is contained in:
parent
75920cad54
commit
35fe0b3826
@ -37,12 +37,12 @@ namespace NadekoBot.Modules.CustomReactions
|
|||||||
{
|
{
|
||||||
foreach (var ph in placeholders)
|
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)
|
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;
|
return str;
|
||||||
}
|
}
|
||||||
|
@ -17,7 +17,7 @@ namespace NadekoBot.Services.Impl
|
|||||||
private DateTime started;
|
private DateTime started;
|
||||||
private int commandsRan = 0;
|
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();
|
public string Heap => Math.Round((double)GC.GetTotalMemory(false) / 1.MiB(), 2).ToString();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user