This commit is contained in:
deathbybandaid 2019-06-24 10:29:58 -04:00
parent 4e099b6b52
commit 7b223ba327

View File

@ -54,9 +54,8 @@ class BotPrerun():
if not trigger.sb["hyphen_arg"]: if not trigger.sb["hyphen_arg"]:
# check if anything prohibits the nick from running the command # check if anything prohibits the nick from running the command
dowerun = self.trigger_runstatus(bot, trigger) dowerun = self.trigger_runstatus(bot, trigger)
if not dowerun: bot.say(str(dowerun))
quit() if dowerun:
else:
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)