add unit test for help command

This commit is contained in:
Marius Begby committed 2024-02-03 11:05:38 +01:00
1 parent 0bb44f18fd
commit 2679cdc463
2 files changed
+36 -4

No files matched your search

+1 -1
View File
@@ -122,7 +122,7 @@ class HelpCommand extends BaseSlashCommandInteraction {
}`;
}
private getCommandParams(command: BaseSlashCommandInteraction, locale: LocaleString): string {
public getCommandParams(command: BaseSlashCommandInteraction, locale: LocaleString): string {
const commandName = command.data.name;
const option = command.data.options[0];