From a440b8e92d8ac313f31350cec1df6e8f9dd14848 Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Mon, 24 Jun 2019 10:16:43 -0400 Subject: [PATCH] try quitting --- sopel_modules/SpiceBot/DictComs.py | 3 ++- sopel_modules/SpiceBot/Prerun.py | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/sopel_modules/SpiceBot/DictComs.py b/sopel_modules/SpiceBot/DictComs.py index 1572f88..4267700 100644 --- a/sopel_modules/SpiceBot/DictComs.py +++ b/sopel_modules/SpiceBot/DictComs.py @@ -28,7 +28,8 @@ class BotDictCommands(): def __init__(self): self.setup_dictcoms() self.header = {'User-Agent': str(UserAgent().chrome)} - self.valid_com_types = [ + self.valid_com_types = ['simple'] + self.valid_com_types_old = [ 'simple', 'fillintheblank', 'targetplusreason', 'sayings', "readfromfile", "readfromurl", "ascii_art", "gif", "translate", "responses", diff --git a/sopel_modules/SpiceBot/Prerun.py b/sopel_modules/SpiceBot/Prerun.py index 72b9a44..d0f1816 100644 --- a/sopel_modules/SpiceBot/Prerun.py +++ b/sopel_modules/SpiceBot/Prerun.py @@ -56,6 +56,7 @@ class BotPrerun(): function(bot, trigger, *args, **kwargs) else: self.trigger_hyphen_arg_handler(bot, trigger) + quit() return return internal_prerun