try quitting

This commit is contained in:
deathbybandaid 2019-06-24 10:16:43 -04:00
parent c16557d4a9
commit a440b8e92d
2 changed files with 3 additions and 1 deletions

View File

@ -28,7 +28,8 @@ class BotDictCommands():
def __init__(self): def __init__(self):
self.setup_dictcoms() self.setup_dictcoms()
self.header = {'User-Agent': str(UserAgent().chrome)} self.header = {'User-Agent': str(UserAgent().chrome)}
self.valid_com_types = [ self.valid_com_types = ['simple']
self.valid_com_types_old = [
'simple', 'fillintheblank', 'targetplusreason', 'simple', 'fillintheblank', 'targetplusreason',
'sayings', "readfromfile", "readfromurl", 'sayings', "readfromfile", "readfromurl",
"ascii_art", "gif", "translate", "responses", "ascii_art", "gif", "translate", "responses",

View File

@ -56,6 +56,7 @@ class BotPrerun():
function(bot, trigger, *args, **kwargs) function(bot, trigger, *args, **kwargs)
else: else:
self.trigger_hyphen_arg_handler(bot, trigger) self.trigger_hyphen_arg_handler(bot, trigger)
quit()
return return
return internal_prerun return internal_prerun