Skip to content

Commit

Permalink
fix(ApplicationCommand): return string equivalent of ApplicationComma…
Browse files Browse the repository at this point in the history
…ndOptionType (#5617)
  • Loading branch information
JKLorenzo committed May 14, 2021
1 parent 68b40dd commit a6079bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/structures/ApplicationCommand.js
Expand Up @@ -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)),
};
}
}
Expand Down

0 comments on commit a6079bc

Please sign in to comment.