targetintheblank

This commit is contained in:
deathbybandaid 2019-06-28 12:44:32 -04:00
parent 7c1c5645e5
commit f108cc2608
245 changed files with 1064 additions and 3 deletions

View File

@ -26,7 +26,7 @@ class BotDictCommands():
def __init__(self):
self.setup_dictcoms()
self.valid_com_types = [
'simple', 'fillintheblank', 'targetplusreason',
'simple', 'fillintheblank', 'targetintheblank', 'targetplusreason',
'sayings', "readfromfile", "readfromurl",
"ascii_art", "gif", "translate", "responses",
"feeds", "search"
@ -134,7 +134,7 @@ class BotDictCommands():
# each usecase needs to know if it needs a target
if "target_required" not in list(dict_from_file[mustbe].keys()):
if dict_from_file[mustbe]["type"] in ['target', 'targetplusreason']:
if dict_from_file[mustbe]["type"] in ['targetintheblank', 'targetplusreason']:
dict_from_file[mustbe]["target_required"] = True
else:
dict_from_file[mustbe]["target_required"] = False

Some files were not shown because too many files have changed in this diff Show More