RedSparr0w / Discord-bot-pokeclicker

5 stars 12 forks source link

Update quiz.js #34

Closed amative1 closed 2 years ago

amative1 commented 2 years ago

This should hopefully fix the problem of users including town/city but it not matching the answer (since the answer has the town/city part removed)

RedSparr0w commented 2 years ago

It should already be marking the answer as correct without this change though 🤔 image

amative1 commented 2 years ago

The issue I've specifically seen is that for the Alola Starting Location the answer is "Iki Town Outskirts", but the bot will only accept "Iki Outskirts" as an answer (it won't accept "Iki Town Outskirts")

RedSparr0w commented 2 years ago

Ah, that makes sense, didn't realise we had some towns without those at the end.

Thanks for the PR! 👍