This commit is contained in:
deathbybandaid 2022-02-23 14:50:51 -05:00
parent 7739110156
commit 444f7f3f20

View File

@ -165,7 +165,6 @@ class Commands():
return commands
for full_trigger_str in triggers[1:]:
print(full_trigger_str)
if full_trigger_str.startswith(tuple(self.config.prefix_list)):
trigger_type = "command"
@ -223,7 +222,7 @@ class Commands():
trigger_type = assumed_trigger_type
trigger_prefix = assumed_trigger_prefix
if not trigger_str.isspace() and trigger_str not in ['', None]:
if not full_trigger_str.isspace() and full_trigger_str not in ['', None]:
commands.append({
"trigger_type": trigger_type,