test
This commit is contained in:
parent
7739110156
commit
444f7f3f20
@ -165,7 +165,6 @@ class Commands():
|
|||||||
return commands
|
return commands
|
||||||
|
|
||||||
for full_trigger_str in triggers[1:]:
|
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"
|
||||||
@ -223,7 +222,7 @@ class Commands():
|
|||||||
trigger_type = assumed_trigger_type
|
trigger_type = assumed_trigger_type
|
||||||
trigger_prefix = assumed_trigger_prefix
|
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({
|
commands.append({
|
||||||
"trigger_type": trigger_type,
|
"trigger_type": trigger_type,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user