mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-12 06:29:54 -05:00
test
This commit is contained in:
parent
19d50a5a12
commit
d6054779fc
@ -48,9 +48,10 @@ class BotPrerun():
|
|||||||
|
|
||||||
# Run the function for all splits
|
# Run the function for all splits
|
||||||
for argsdict in argsdict_list:
|
for argsdict in argsdict_list:
|
||||||
|
trigger.sb = copy.deepcopy(argsdict)
|
||||||
|
trigger.sb["args"], trigger.sb["hyphen_arg"] = self.trigger_hyphen_args(trigger.sb["args"])
|
||||||
|
|
||||||
def newfunc(bot, trigger, *args, **kwargs):
|
def newfunc(bot, trigger, *args, **kwargs):
|
||||||
trigger.sb = copy.deepcopy(argsdict)
|
|
||||||
trigger.sb["args"], trigger.sb["hyphen_arg"] = self.trigger_hyphen_args(trigger.sb["args"])
|
|
||||||
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
|
||||||
if self.trigger_runstatus(bot, trigger):
|
if self.trigger_runstatus(bot, trigger):
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user