aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorclarkzjw <[email protected]>2023-02-20 13:47:26 -0800
committerclarkzjw <[email protected]>2023-02-20 13:47:26 -0800
commitf7f99f41e768e6740adbf2ee708488b29fe6265a (patch)
tree125b6ec833af57b2ec1813309506dbe6b791b35f /config.py
parent3a230798be1bc63b363cf75b8b1cae3a508cca84 (diff)
downloadswarm2fediverse-f7f99f41e768e6740adbf2ee708488b29fe6265a.tar.gz
implemented basic functions:
- send a location from Telegram to bot - query a list (7) of POIs from Foursquare - send user inline keyboard button to choose a location - post toot status update to Mastodon with a link to OSM - store previously seen locations in local db
Diffstat (limited to 'config.py')
-rw-r--r--config.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/config.py b/config.py
index 377a6c3..a403db0 100644
--- a/config.py
+++ b/config.py
@@ -6,3 +6,8 @@ config.read("config.ini")
6 6
7BOT_TOKEN = config["DEFAULT"]["BOT_TOKEN"] 7BOT_TOKEN = config["DEFAULT"]["BOT_TOKEN"]
8FSQ_API_KEY = config["DEFAULT"]["FOURSQUARE_API_KEY"] 8FSQ_API_KEY = config["DEFAULT"]["FOURSQUARE_API_KEY"]
9
10TOOT_API_BASE_URL = config["TOOT"]["API_BASE_URL"]
11TOOT_CLIENT_ID = config["TOOT"]["CLIENT_ID"]
12TOOT_CLIENT_SECRET = config["TOOT"]["CLIENT_SECRET"]
13TOOT_ACCESS_TOKEN = config["TOOT"]["ACCESS_TOKEN"]
Powered by cgit v1.2.3 (git 2.41.0)