mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-10 21:50:59 -05:00
test
This commit is contained in:
parent
b7d5b38a62
commit
94f9916302
@ -34,7 +34,7 @@ def bot_dictcom_process(bot, trigger, botcom):
|
||||
botcom.dict["target"] = False
|
||||
|
||||
botcom.dict["success"] = True
|
||||
if botcom.dict["dict"][botcom.dict["responsekey"]]["type"] in ['simple', 'fillintheblank', "target", 'targetplusreason', 'sayings', "readfromfile", "readfromurl", "ascii_art", "translate", "responses", "search"]:
|
||||
if botcom.dict["dict"][botcom.dict["responsekey"]]["type"] in ['simple', 'fillintheblank', "target", 'targetplusreason', 'sayings', "readfromfile", "readfromurl", "ascii_art", "translate", "responses"]:
|
||||
return bot_dictcom_responses(bot, trigger, botcom)
|
||||
else:
|
||||
command_function_run = str('bot_dictcom_' + botcom.dict["dict"][botcom.dict["responsekey"]]["type"] + '(bot, trigger, botcom)')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user