From ed7d0545e36b34080faac0eb630d85f76d92b61f Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Wed, 26 Jun 2019 14:00:56 -0400 Subject: [PATCH] update valid list --- sopel_modules/SpiceBot/Prerun.py | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/sopel_modules/SpiceBot/Prerun.py b/sopel_modules/SpiceBot/Prerun.py index 37aed7f..ac397fc 100644 --- a/sopel_modules/SpiceBot/Prerun.py +++ b/sopel_modules/SpiceBot/Prerun.py @@ -191,7 +191,17 @@ def trigger_cant_run(bot, trigger, message=None): def trigger_hyphen_args(trigger_args_part): valid_hyphen_args = [ 'check', - 'enable', 'disable' + 'enable', 'disable', + 'block', 'unblock', + "activate", "deactivate", + "on", "off", + 'multirun', 'multiruns', + 'example', 'usage', + 'filename', 'filepath', + 'foldername', 'folderpath', + "author", + 'contribs', 'contrib', "contributors", + 'alias', 'aliases' ] hyphen_args = [] trigger_args_unhyphend = []