mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-03 14:38:49 +00:00
add unit test for help command
This commit is contained in:
1 parent
0bb44f18fd
commit
2679cdc463
2 files changed
+36
-4
No files matched your search
@@ -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];
|
||||
|
||||
|
||||
Reference in new issue
Block a user