/setgame
matching "too loose"
#2636
Labels
bug
Something isn't working as intended, or works in a confusing/unintuitive way for the user
/setgame
matching "too loose"
#2636
Describe the bug
Helix is sometimes horribly incorrect for game titles. This can potentially result in something like
/setgame terraria
actually setting the game toSub Terrania
orTerraria 2
.Potential Solution
Converting game titles from the previous search to lowercase, then best matching according to that. For example...
Below is the response from helix for searching for the game. If we were to convert the game titles to lowercase and compare the user's input to the game titles, we'd find that it best matches to id
31376
as opposed to just matching to the first entry.EDIT: This issue is actually in reference to the already added
/setgame
feature. Currently it doesn't match some games exactly. The fix to this would be to convert the query to lowercase, search for the game, see which game best matches and use the id to set the game.The text was updated successfully, but these errors were encountered: