You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any particular reason why we are converting to RegExp the languages keys inside the Command._languages map? Seems unnecessary, since the regExp characteristics are not being used anywhere. I looked up the matchOnlyAtStart option and the fuzzySearch method and they don't depend on regExp usage neither
The text was updated successfully, but these errors were encountered:
With a sample bot using something in the lines:
throws:
Most likely due to probably this line inside the toObject utility:
commands/src/command.ts
Line 306 in 63bc0fa
Is there any particular reason why we are converting to RegExp the languages keys inside the Command._languages map? Seems unnecessary, since the regExp characteristics are not being used anywhere. I looked up the
matchOnlyAtStart
option and thefuzzySearch
method and they don't depend on regExp usage neitherThe text was updated successfully, but these errors were encountered: