add scope to enumProvider

This commit is contained in:
LenAnderson
2024-06-16 08:43:50 -04:00
parent 7ebf23e9e6
commit 8d8a41d912
3 changed files with 15 additions and 10 deletions

View File

@ -411,7 +411,7 @@ export class SlashCommandParser {
);
return result;
}
const result = new SlashCommandAutoCompleteNameResult(executor, this.commands);
const result = new SlashCommandAutoCompleteNameResult(executor, this.scopeIndex[this.commandIndex.indexOf(executor)], this.commands);
return result;
}
return null;