mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-11 06:00:59 -05:00
test
This commit is contained in:
parent
7b223ba327
commit
a3a0cd7e31
@ -53,15 +53,14 @@ class BotPrerun():
|
||||
trigger.sb["args"], trigger.sb["hyphen_arg"] = self.trigger_hyphen_args(trigger.sb["args"])
|
||||
if not trigger.sb["hyphen_arg"]:
|
||||
# check if anything prohibits the nick from running the command
|
||||
dowerun = self.trigger_runstatus(bot, trigger)
|
||||
bot.say(str(dowerun))
|
||||
if dowerun:
|
||||
if self.trigger_runstatus(bot, trigger):
|
||||
function(bot, trigger, *args, **kwargs)
|
||||
else:
|
||||
self.trigger_hyphen_arg_handler(bot, trigger)
|
||||
quit()
|
||||
return internal_prerun
|
||||
return actual_decorator
|
||||
quit()
|
||||
|
||||
def trigger_args(self, triggerargs_one, trigger_command_type='module'):
|
||||
trigger_args = spicemanip.main(triggerargs_one, 'create')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user