From e150031089c4b75ff15838293f48d3a22d2e72e7 Mon Sep 17 00:00:00 2001 From: mummified-corroding-granny Date: Sat, 28 Jan 2023 23:57:57 +0000 Subject: [PATCH] increment range so it is 1 to 9999 like in the fomatting docs --- files/helpers/regex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/helpers/regex.py b/files/helpers/regex.py index 668104665..1c1a1bce3 100644 --- a/files/helpers/regex.py +++ b/files/helpers/regex.py @@ -179,7 +179,7 @@ commands = { "fortune": FORTUNE_REPLIES, "factcheck": FACTCHECK_REPLIES, "8ball": EIGHTBALL_REPLIES, - "roll": range(1, 9999) + "roll": range(1, 10000) } command_regex = re.compile("(\s|^)#(fortune|factcheck|8ball|roll)", flags=re.A|re.I) -- 2.34.1