mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-11 06:00:59 -05:00
try quitting
This commit is contained in:
parent
c16557d4a9
commit
a440b8e92d
@ -28,7 +28,8 @@ class BotDictCommands():
|
||||
def __init__(self):
|
||||
self.setup_dictcoms()
|
||||
self.header = {'User-Agent': str(UserAgent().chrome)}
|
||||
self.valid_com_types = [
|
||||
self.valid_com_types = ['simple']
|
||||
self.valid_com_types_old = [
|
||||
'simple', 'fillintheblank', 'targetplusreason',
|
||||
'sayings', "readfromfile", "readfromurl",
|
||||
"ascii_art", "gif", "translate", "responses",
|
||||
|
||||
@ -56,6 +56,7 @@ class BotPrerun():
|
||||
function(bot, trigger, *args, **kwargs)
|
||||
else:
|
||||
self.trigger_hyphen_arg_handler(bot, trigger)
|
||||
quit()
|
||||
return
|
||||
|
||||
return internal_prerun
|
||||
|
||||
Loading…
Reference in New Issue
Block a user