mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-13 15:09:54 -05:00
test
This commit is contained in:
parent
eaec9acfc6
commit
20eea8f664
@ -55,10 +55,12 @@ class BotPrerun():
|
|||||||
for argsdict in argsdict_list:
|
for argsdict in argsdict_list:
|
||||||
trigger.sb = argsdict
|
trigger.sb = argsdict
|
||||||
trigger.sb["args"], trigger.sb["hyphen_arg"] = self.trigger_hyphen_args(trigger.sb["args"])
|
trigger.sb["args"], trigger.sb["hyphen_arg"] = self.trigger_hyphen_args(trigger.sb["args"])
|
||||||
if trigger.sb["hyphen_arg"]:
|
# if trigger.sb["hyphen_arg"]:
|
||||||
self.trigger_hyphen_arg_handler(bot, trigger)
|
# self.trigger_hyphen_arg_handler(bot, trigger)
|
||||||
else:
|
# else:
|
||||||
# check if anything prohibits the nick from running the command
|
# # check if anything prohibits the nick from running the command
|
||||||
|
# if self.trigger_runstatus(bot, trigger, argsdict):
|
||||||
|
# function(bot, trigger, *args, **kwargs)
|
||||||
if self.trigger_runstatus(bot, trigger, argsdict):
|
if self.trigger_runstatus(bot, trigger, argsdict):
|
||||||
function(bot, trigger, *args, **kwargs)
|
function(bot, trigger, *args, **kwargs)
|
||||||
return
|
return
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user