From cb8613d685be613cef43c97304c9269ad5b210b0 Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Fri, 20 Sep 2019 14:48:05 -0400 Subject: [PATCH] test --- sopel_modules/SpiceBot/Prerun.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sopel_modules/SpiceBot/Prerun.py b/sopel_modules/SpiceBot/Prerun.py index d299f97..77f8c35 100644 --- a/sopel_modules/SpiceBot/Prerun.py +++ b/sopel_modules/SpiceBot/Prerun.py @@ -462,6 +462,9 @@ def updatable_content(bot, botcom, trigger): def special_handling(botcom): botcom.dict["responsekey"] = "?default" + if "nonstockoptions" not in list(botcom.dict["dict"].keys()): + botcom.dict["dict"]["nonstockoptions"] = [] + # handling for special cases posscom = spicemanip(botcom.dict['args'], 1) if posscom.lower() in [command.lower() for command in botcom.dict["dict"]["nonstockoptions"]]: