Professor-Redwood-Team / Professor-Redwood

Pokemon Go Discord Bot
MIT License
34 stars 21 forks source link

Constants Refactor #99

Open mralanlee opened 5 years ago

mralanlee commented 5 years ago

Change the data structure in constants.js where Array is used to a nested object.

Using a hash lookup would be more optimal than using indexOf or other array methods.