This commit is contained in:
deathbybandaid 2019-06-25 11:58:11 -04:00
parent dca0ca7c36
commit 11844ced4e

View File

@ -34,6 +34,9 @@ def prerun(t_command_type='module'):
# Primary command used for trigger, and a list of all words
trigger_args, trigger_command = make_trigger_args(trigger.args[1], trigger_command_type)
if trigger_command not in list(botcommands.dict["commands"][trigger_command_type].keys()):
return
if t_command_type.endswith("_match"):
if trigger_command_type in ["module", "nickname"]:
return