mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-10 21:50:59 -05:00
test
This commit is contained in:
parent
03e8abeee1
commit
4577eb228f
@ -46,6 +46,7 @@ def prerun(t_command_type='module', t_command_subtype=None):
|
||||
else:
|
||||
if not str(trigger.args[1]).startswith(tuple(botconfig.core.prefix_list)):
|
||||
return
|
||||
bot.say("a")
|
||||
|
||||
trigger_command_type = str(t_command_type)
|
||||
|
||||
@ -101,7 +102,6 @@ def prerun(t_command_type='module', t_command_subtype=None):
|
||||
|
||||
botcom.dict["args"], botcom.dict["hyphen_arg"] = trigger_hyphen_args(botcom.dict["args"])
|
||||
args_pass = trigger_hyphen_arg_handler(bot, trigger, botcom)
|
||||
bot.say(str(args_pass))
|
||||
if args_pass:
|
||||
if trigger_runstatus(bot, trigger, botcom):
|
||||
function(bot, trigger, botcom, *args, **kwargs)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user