Taraal / LocationBot

Discord Bot to store a user's coordinates and retrieve them via Google Maps
https://discord.com/api/oauth2/authorize?client_id=1024794133195399288&permissions=2048&scope=bot
4 stars 0 forks source link

Refacto the localisation system #6

Open chaigneauP opened 2 years ago

chaigneauP commented 2 years ago

upgrade the storeloc system for manage geoloc and address separetly

Taraal commented 2 years ago

A possible solution would be to store each location as a JSON object with two properties, "coordinates" and "address". I'm guessing we can get both infos from any of them, so we should be good. We would then need to scrape some data from the gmaps page. As this necessity was also referenced in #4 I suggest a single branch to close out both issues.