more tweaks

This commit is contained in:
deathbybandaid 2019-07-18 08:32:25 -04:00
parent 0362e13d7c
commit cecd23556b

View File

@ -44,7 +44,7 @@ def prerun(t_command_type='module', t_command_subtype=None):
check_nick = spicemanip(trigger.args[1], 1).lower()
if check_nick != str(bot.nick).lower():
return
else:
elif t_command_type == "module":
if not str(trigger.args[1]).startswith(tuple(botconfig.core.prefix_list)):
return
@ -133,7 +133,7 @@ def prerun_query(t_command_type='module', t_command_subtype=None):
check_nick = spicemanip(trigger.args[1], 1).lower()
if check_nick != str(bot.nick).lower():
return
else:
elif t_command_type == "module":
if not str(trigger.args[1]).startswith(tuple(botconfig.core.prefix_list)):
return