Fuzzy Search

So I'm trying to prevent the bot from finding users if in the command only 1 character of their name was provided
await args.pick('member', { context: { performFuzzySearch: false } }).catch(() => {});
await args.pick('member', { context: { performFuzzySearch: false } }).catch(() => {});
I tried with the code above but it still finds the member even if I only provided 1 character of their username
Solution:
await args.pick('member', { performFuzzySearch: false }).catch(() => {});
await args.pick('member', { performFuzzySearch: false }).catch(() => {});
...
Jump to solution
1 Reply
Solution
Favna
Favna•11mo ago
await args.pick('member', { performFuzzySearch: false }).catch(() => {});
await args.pick('member', { performFuzzySearch: false }).catch(() => {});
Want results from more Discord servers?
Add your server