test
This commit is contained in:
parent
3710517186
commit
a0740c9289
@ -95,7 +95,6 @@ class Commands():
|
||||
"type": "action_command",
|
||||
"plugin_name": plugin_name
|
||||
})
|
||||
print(commands_list)
|
||||
return commands_list
|
||||
|
||||
def dispatch(self, trigger_dict):
|
||||
|
||||
@ -49,6 +49,7 @@ def prerun():
|
||||
# The command is not valid
|
||||
if comrun.is_catchall and not comrun.is_real_command:
|
||||
valid_command_results = sb.commands.search_similar_commands(comrun.command["trigger_command"])
|
||||
print(comrun.command_type)
|
||||
if not len(valid_command_results):
|
||||
comrun.osd("%s does not appear to be a valid command." % comrun.command["trigger_command"])
|
||||
else:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user