From a375c6238dc74b3685c25e0b2145227abc6d525d Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Fri, 28 Jun 2019 14:36:31 -0400 Subject: [PATCH] patches --- sopel_modules/SpiceBot_Core_Commands/AI.py | 2 +- sopel_modules/SpiceBot_Core_Commands/DictComs.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sopel_modules/SpiceBot_Core_Commands/AI.py b/sopel_modules/SpiceBot_Core_Commands/AI.py index 3881d14..5a27f6d 100644 --- a/sopel_modules/SpiceBot_Core_Commands/AI.py +++ b/sopel_modules/SpiceBot_Core_Commands/AI.py @@ -209,7 +209,7 @@ def bot_command_rule_ai(bot, trigger): # elif fulltrigger.lower().startswith(tuple(["have you seen"])): # posstarget = spicemanip.main(trigger_args, 4) or 0 - # message = seen_search(bot, botcom, posstarget) + # message = seen_search(bot, trigger, posstarget) # bot.osd(message) # return # TODO diff --git a/sopel_modules/SpiceBot_Core_Commands/DictComs.py b/sopel_modules/SpiceBot_Core_Commands/DictComs.py index 0516897..836a068 100644 --- a/sopel_modules/SpiceBot_Core_Commands/DictComs.py +++ b/sopel_modules/SpiceBot_Core_Commands/DictComs.py @@ -145,7 +145,7 @@ def bot_dictcom_process(bot, trigger): if trigger.sb["dict"][trigger.sb["responsekey"]]["type"] in ['simple', 'fillintheblank', "target", 'targetplusreason', 'sayings', "readfromfile", "readfromurl", "ascii_art", "translate", "responses"]: return bot_dictcom_responses(bot, trigger) else: - command_function_run = str('bot_dictcom_' + trigger.sb["dict"][trigger.sb["responsekey"]]["type"] + '(bot, botcom)') + command_function_run = str('bot_dictcom_' + trigger.sb["dict"][trigger.sb["responsekey"]]["type"] + '(bot, trigger)') eval(command_function_run) @@ -404,5 +404,5 @@ def bot_dictcom_feeds(bot, trigger): """ -def bot_dictcom_search(bot, botcom): +def bot_dictcom_search(bot, trigger): bot.say("testing done")