From b3dd0677f2a190a32cfcc464d18ccb286541266c Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Fri, 5 Jul 2019 11:40:50 -0400 Subject: [PATCH] test --- sopel_modules/SpiceBot/Prerun.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sopel_modules/SpiceBot/Prerun.py b/sopel_modules/SpiceBot/Prerun.py index 08d3261..3b83839 100644 --- a/sopel_modules/SpiceBot/Prerun.py +++ b/sopel_modules/SpiceBot/Prerun.py @@ -454,7 +454,7 @@ def trigger_hyphen_arg_handler(bot, trigger, botcom): return True # handle numbered args - if str(botcom.dict["hyphen_arg"]).isdigit(): + if str(botcom.dict["hyphen_arg"]).isdigit() or botcom.dict["hyphen_arg"] in [-1, 'random']: return True elif botcom.dict["hyphen_arg"] in ['check']: