fix(ApplicationCommand): return string equivalent of ApplicationCommandOptionType (#5617)

This commit is contained in:
Juruel Keanu Lorenzo
2021-05-15 00:40:41 +02:00
committed by GitHub
parent 68b40dd91d
commit a6079bc9ce
+1 -1
View File
@@ -210,7 +210,7 @@ class ApplicationCommand extends Base {
description: option.description,
required: option.required,
choices: option.choices,
options: option.options?.map(o => this.transformOption(o)),
options: option.options?.map(o => this.transformOption(o, received)),
};
}
}