Code for @ThatLocationBot on Telegram t.me/thatlocationbot
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Darshil Chanpura 3912686567 Fixed invalid if condition 4 weeks ago
cmd/that-location-bot Fixed invalid if condition 4 weeks ago
locationbot Minor changes in init and README updated 4 weeks ago
.editorconfig Update: completed functionality for document 3 years ago
.gitignore Handling failures better, go mod, mage 4 weeks ago
LICENSE Minor changes in init and README updated 4 weeks ago
README.md Minor changes in init and README updated 4 weeks ago
go.mod Handling failures better, go mod, mage 4 weeks ago
go.sum Handling failures better, go mod, mage 4 weeks ago
mage.go Minor changes in mage.go 4 weeks ago

README.md

That Location Bot - Telegram

This repository contains code for @ThatLocationBot

Usage

The binary has two modes, CLI for quick conversions and Server that starts up the listener accepting the input as Telegram Messages (recommended only to be used as Telegram Bot)

The Tool accepts only two flags, both are actually exclusive and input-file being a higher priority.

Usage of that-location-bot:
  -addr string
        Address to listen on (default ":8000")
  -input-file string
        Input file to get Latitude and Longitude for (default "input.txt")

There is one required variable and the other one is for Telegram access needed in Server mode.

  • GM_API_KEY: Google Maps API Key
  • LOCATION_BOT_TOKEN: Bot Token

LICENSE

MIT