This commit is contained in:
deathbybandaid 2022-02-23 14:48:46 -05:00
parent e535aff5c2
commit 7739110156

View File

@ -125,7 +125,6 @@ class Commands():
triggers = [trigger.args[1]]
first_full_trigger_str = triggers[0]
del triggers[0]
if first_full_trigger_str.startswith(tuple(self.config.prefix_list)):
first_trigger_type = "command"
@ -162,7 +161,11 @@ class Commands():
"trigger_time": str(trigger.time)
})
for full_trigger_str in triggers:
if not len(triggers) > 1:
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"