Skip to content

Commit

Permalink
fix(CommandInteractionOptionResolver): type should be USER (#6148)
Browse files Browse the repository at this point in the history
  • Loading branch information
monbrey committed Jul 20, 2021
1 parent 8ccfd6e commit 02f55f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/structures/CommandInteractionOptionResolver.js
Expand Up @@ -169,7 +169,7 @@ class CommandInteractionOptionResolver {
* The value of the option, or null if not set and not required.
*/
getMember(name, required = false) {
const option = this._getTypedOption(name, ['MEMBER'], ['member'], required);
const option = this._getTypedOption(name, ['USER'], ['member'], required);
return option?.member ?? null;
}

Expand Down

0 comments on commit 02f55f0

Please sign in to comment.