Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update the location & location_cache logic (#1217)
Previously, the location_cache can't be used, even people set location_cache to TRUE. Everytime, it starts from the initial position. Now the bot check the initial position first. Then check if people set location_cache. If so, read it and update it, otherwise use the initial location. If there is no initial location and no location cache, print msg and exit.
- Loading branch information