mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-13 06:59:53 -05:00
test
This commit is contained in:
parent
4e099b6b52
commit
7b223ba327
@ -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)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user