From 009d91e94a77dba6d9d4192fe22f550ff9cb602c Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Thu, 19 Sep 2019 14:25:56 -0400 Subject: [PATCH] test --- sopel_modules/SpiceBot/Prerun.py | 2 +- sopel_modules/SpiceBot/Tools.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/sopel_modules/SpiceBot/Prerun.py b/sopel_modules/SpiceBot/Prerun.py index ade03c4..932cd8d 100644 --- a/sopel_modules/SpiceBot/Prerun.py +++ b/sopel_modules/SpiceBot/Prerun.py @@ -506,7 +506,7 @@ def trigger_hyphen_arg_handler(bot, trigger, botcom): botcom.dict["specified"] = botcom.dict["hyphen_arg"] return True, botcom - elif botcom.dict["hyphen_arg"] in ['check']: + elif botcom.dict["hyphen_arg"] in ['check', "test"]: if botcom.dict["com"].lower() != botcom.dict["realcom"]: botmessagelog.messagelog(botcom.dict["log_id"], botcom.dict["comtext"] + " is a valid alias command for " + botcom.dict["realcomtext"]) else: diff --git a/sopel_modules/SpiceBot/Tools.py b/sopel_modules/SpiceBot/Tools.py index ec45482..07c03f3 100644 --- a/sopel_modules/SpiceBot/Tools.py +++ b/sopel_modules/SpiceBot/Tools.py @@ -24,7 +24,8 @@ class Botprerun_shared(): def __init__(self): self.valid_hyphen_args = [ - 'check', 'view', + 'check', 'test', + 'view', 'count', 'special', 'options', 'list', 'add', 'del', 'remove',