Don't force user to directly talk to Google

This commit is contained in:
2021-07-14 12:57:14 -04:00
parent 4dda5eef19
commit 146e1c87f7

View File

@ -162,7 +162,7 @@ func locateVehicle(m chat1.MsgSummary) {
handleError(err, m, "There was an error getting drive state. Contact @rudi9719 for more information with code %+v") handleError(err, m, "There was an error getting drive state. Contact @rudi9719 for more information with code %+v")
return return
} }
k.SendMessageByConvID(m.ConvID, fmt.Sprintf("https://www.google.com/maps/search/?api=1&query=%+v,%+v", ds.Latitude, ds.Longitude)) k.SendMessageByConvID(m.ConvID, fmt.Sprintf("https://whoogle.nmare.net/search?q=%+v,%+v", ds.Latitude, ds.Longitude))
} }
func flashLights(m chat1.MsgSummary) { func flashLights(m chat1.MsgSummary) {