test
This commit is contained in:
parent
e535aff5c2
commit
7739110156
@ -125,7 +125,6 @@ class Commands():
|
|||||||
triggers = [trigger.args[1]]
|
triggers = [trigger.args[1]]
|
||||||
|
|
||||||
first_full_trigger_str = triggers[0]
|
first_full_trigger_str = triggers[0]
|
||||||
del triggers[0]
|
|
||||||
|
|
||||||
if first_full_trigger_str.startswith(tuple(self.config.prefix_list)):
|
if first_full_trigger_str.startswith(tuple(self.config.prefix_list)):
|
||||||
first_trigger_type = "command"
|
first_trigger_type = "command"
|
||||||
@ -162,7 +161,11 @@ class Commands():
|
|||||||
"trigger_time": str(trigger.time)
|
"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)):
|
if full_trigger_str.startswith(tuple(self.config.prefix_list)):
|
||||||
trigger_type = "command"
|
trigger_type = "command"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user