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"]:
# check if anything prohibits the nick from running the command
dowerun = self.trigger_runstatus(bot, trigger)
if not dowerun:
quit()
else:
bot.say(str(dowerun))
if dowerun:
function(bot, trigger, *args, **kwargs)
else:
self.trigger_hyphen_arg_handler(bot, trigger)