diff --git a/sopel_modules/SpiceBot/DictComs.py b/sopel_modules/SpiceBot/DictComs.py index 1439c31..3b41958 100644 --- a/sopel_modules/SpiceBot/DictComs.py +++ b/sopel_modules/SpiceBot/DictComs.py @@ -38,7 +38,7 @@ class BotDictCommands(): "comtype", "type", "validcoms", "author", "contributors", "description", "exampleresponse", "example", - "privs" + "privs", "nonstockoptions", ] self.dictcom_load() diff --git a/sopel_modules/SpiceBot/Prerun.py b/sopel_modules/SpiceBot/Prerun.py index 1768e05..40d6c74 100644 --- a/sopel_modules/SpiceBot/Prerun.py +++ b/sopel_modules/SpiceBot/Prerun.py @@ -514,7 +514,7 @@ def trigger_hyphen_arg_handler(bot, trigger, botcom): return False elif botcom.dict["hyphen_arg"] in ['special']: - bot.osd("The special options for " + str(botcom.dict["realcom"]) + " command include: " + str(botcom.dict["nonstockoptions"]) + ".") + bot.osd("The special options for " + str(botcom.dict["realcom"]) + " command include: " + str(botcom.dict["dict"]["nonstockoptions"]) + ".") return False elif botcom.dict["hyphen_arg"] in [ diff --git a/sopel_modules/SpiceBot/Tools.py b/sopel_modules/SpiceBot/Tools.py index b47321a..fbca002 100644 --- a/sopel_modules/SpiceBot/Tools.py +++ b/sopel_modules/SpiceBot/Tools.py @@ -47,7 +47,7 @@ class Botprerun_shared(): self.stockoptions = [ "?default", "validcoms", "contributors", "author", "type", "filepath", "filename", "hardcoded_channel_block", "description", - "exampleresponse", "example", "usage", "privs" + "exampleresponse", "example", "usage", "privs", "nonstockoptions", ]