mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-13 06:59:53 -05:00
try quitting
This commit is contained in:
parent
c16557d4a9
commit
a440b8e92d
@ -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",
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user