From 950f4dde28c0dde98a723172deb0c6c6d6864553 Mon Sep 17 00:00:00 2001 From: mummified-corroding-granny Date: Sun, 29 Jan 2023 09:34:06 +0000 Subject: [PATCH] roll comment command fix to include 9999 (#104) roll comment command fix to include 9999. Changed to meet the documentation in the formatting page instead of doing the reverse Reviewed-on: https://fsdfsd.net/rDrama/rDrama/pulls/104 Co-authored-by: mummified-corroding-granny Co-committed-by: mummified-corroding-granny --- 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)