mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-11 06:00:59 -05:00
patches
This commit is contained in:
parent
0418e3e24c
commit
a375c6238d
@ -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
|
||||
|
||||
@ -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")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user