This commit is contained in:
deathbybandaid 2019-07-05 10:59:22 -04:00
parent 45ed35e032
commit 3b52059a26

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)
@ -54,11 +55,11 @@ def prerun(t_command_type='module', t_command_subtype=None):
if trigger_prefix in [botconfig.SpiceBot_Commands.query_prefix]:
return
bot.say("b")
trigger_command_type = botcommands.find_command_type(trigger_command)
if not trigger_command_type:
return
bot.say("a")
if t_command_subtype:
if trigger_command_type != t_command_subtype: