Allow for slash commands to opt-out of autocompletion and /help discovery. (#7847)

This commit is contained in:
DeWitt Clinton
2025-09-06 14:16:58 -07:00
committed by GitHub
parent c031f538df
commit 6b4c12eb04
8 changed files with 103 additions and 59 deletions
+1 -3
View File
@@ -85,9 +85,7 @@ export class CommandService {
});
}
const finalCommands = Object.freeze(
Array.from(commandMap.values()).filter((cmd) => !cmd.hidden),
);
const finalCommands = Object.freeze(Array.from(commandMap.values()));
return new CommandService(finalCommands);
}