fix: allow command provider to not implement complete method

This commit is contained in:
KernelDeimos
2025-02-10 17:22:10 -05:00
parent ad2ed295b1
commit 2000b8909f

View File

@@ -49,6 +49,7 @@ export class CompositeCommandProvider {
const results = [];
for (const provider of this.providers) {
if ( ! provider.complete ) continue;
results.push(...await provider.complete(...a));
}
return results;