This commit is contained in:
deathbybandaid 2022-05-06 09:37:46 -04:00
parent 3710517186
commit a0740c9289
2 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,6 @@ class Commands():
"type": "action_command",
"plugin_name": plugin_name
})
print(commands_list)
return commands_list
def dispatch(self, trigger_dict):

View File

@ -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: