From c78f98bf19dd0d77490e9a90d94af21a478cd3c3 Mon Sep 17 00:00:00 2001 From: appelemac Date: Sat, 18 Jun 2016 13:40:22 +0200 Subject: [PATCH] pfft, nitpick --- NadekoBot/Modules/CustomReactions/CustomReactions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NadekoBot/Modules/CustomReactions/CustomReactions.cs b/NadekoBot/Modules/CustomReactions/CustomReactions.cs index f4ebceac..e735efc7 100644 --- a/NadekoBot/Modules/CustomReactions/CustomReactions.cs +++ b/NadekoBot/Modules/CustomReactions/CustomReactions.cs @@ -21,7 +21,7 @@ namespace NadekoBot.Modules.CustomReactions { commandFuncs = new Dictionary> { - {new Regex(@"%rng:?(\d{0,9})-?(\d{0,9})%"), (e,m) => { + {new Regex(@"%rng(?:%|:(\d{0,9})-(\d{0,9})%)"), (e,m) => { int start, end; if (int.TryParse(m.Groups[1].Value, out start) && int.TryParse(m.Groups[2].Value, out end)) { return rng.Next(start, end).ToString();