add client, config to input_supported

This commit is contained in:
Believethehype
2023-12-28 22:56:41 +01:00
parent 4c07beff7b
commit bc3701d498
21 changed files with 28 additions and 23 deletions

View File

@@ -140,7 +140,7 @@ def check_task_is_supported(event: Event, client, config=None):
# See if current dvm can handle input for given task
for dvm in dvm_config.SUPPORTED_DVMS:
if dvm.TASK == task:
if not dvm.is_input_supported(event.tags()):
if not dvm.is_input_supported(event.tags(), client, config):
return False, task
return True, task