This commit is contained in:
deathbybandaid 2022-02-22 14:05:19 -05:00
parent 0beb62eafd
commit 344846674b

View File

@ -134,8 +134,9 @@ class Commands():
else:
first_trigger_type = "rule"
first_trigger_prefix = None
first_trigger_command = first_full_trigger_str.split(" ")[0]
first_trigger_str = " ".join(first_full_trigger_str.split(" ")[1:])
first_trigger_noprefix = first_full_trigger_str
first_trigger_command = first_trigger_noprefix.split(" ")[0]
first_trigger_str = " ".join(first_trigger_noprefix.split(" ")[1:])
commands.append({
"trigger_type": first_trigger_type,