diff --git a/src/games/hvacoins/index.js b/src/games/hvacoins/index.js index ee7b3f3..92aeb65 100644 --- a/src/games/hvacoins/index.js +++ b/src/games/hvacoins/index.js @@ -2028,7 +2028,7 @@ command( const achName = args.join(' ') const matcher = fuzzyMatcher(achName) const achievement = Object.entries(achievements) - .find(([name, ach]) => [name, ach.name].some(matcher.test)) + .find(([name, ach]) => [name, ach.name].some(n => matcher.test(n))) if (!achievement || !user.achievements[achievement[0]]) { return say(`You don't have any achievement matching '${achName}'`) }