This commit is contained in:
deathbybandaid 2019-07-05 10:57:09 -04:00
parent 03e8abeee1
commit 4577eb228f

View File

@ -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)