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

New feature : calculate the distance between two points #4

Open chaigneauP opened 2 years ago

chaigneauP commented 2 years ago

When a user set >= 2 points, send him the distance between the start point and the last point.

Taraal commented 1 year ago

There are several ways to do this :

I vote for the second one, which can be done by generating another URL using only the two locs and scraping the distance calculated by Google.