aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorclarkzjw <[email protected]>2023-02-23 00:35:21 -0800
committerclarkzjw <[email protected]>2023-02-23 12:07:32 -0800
commitc30cba1bb04945a8000c6089d5dcd376e08b2133 (patch)
tree4454806c521cfd2f8adee3f4d9bb312212011cd0 /config.py
parentadb574ab528fbc4401fb7cd50b8748d1fb529450 (diff)
downloadswarm2fediverse-c30cba1bb04945a8000c6089d5dcd376e08b2133.tar.gz
remove outdated config
Diffstat (limited to 'config.py')
-rw-r--r--config.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/config.py b/config.py
index 9e72598..d5455a3 100644
--- a/config.py
+++ b/config.py
@@ -1,5 +1,3 @@
1# https://docs.python.org/3/library/configparser.html
2
3from telegram import InlineKeyboardButton, InlineKeyboardMarkup, ReplyKeyboardMarkup, KeyboardButton 1from telegram import InlineKeyboardButton, InlineKeyboardMarkup, ReplyKeyboardMarkup, KeyboardButton
4from prompt.string import * 2from prompt.string import *
5from typing import TypedDict 3from typing import TypedDict
@@ -11,11 +9,6 @@ config.read("config.ini")
11BOT_TOKEN = config["DEFAULT"]["BOT_TOKEN"] 9BOT_TOKEN = config["DEFAULT"]["BOT_TOKEN"]
12FSQ_API_KEY = config["DEFAULT"]["FOURSQUARE_API_KEY"] 10FSQ_API_KEY = config["DEFAULT"]["FOURSQUARE_API_KEY"]
13 11
14TOOT_API_BASE_URL = config["TOOT"]["API_BASE_URL"]
15TOOT_CLIENT_ID = config["TOOT"]["CLIENT_ID"]
16TOOT_CLIENT_SECRET = config["TOOT"]["CLIENT_SECRET"]
17TOOT_ACCESS_TOKEN = config["TOOT"]["ACCESS_TOKEN"]
18
19 12
20MEDIA_GROUP_TIMEOUT = 3 13MEDIA_GROUP_TIMEOUT = 3
21 14
@@ -42,8 +35,6 @@ class MsgDict(TypedDict):
42KEY_TOOT_STATUS_ID = "toot_status_id" 35KEY_TOOT_STATUS_ID = "toot_status_id"
43KEY_TOOT_STATUS_CONTENT = "toot_status_content" 36KEY_TOOT_STATUS_CONTENT = "toot_status_content"
44 37
45MASTODON_CLIENT_ID_FILE = "mastodon.client_id"
46
47TELEGRAM_WEBHOOK_URL = "/checkinbot/webhook" 38TELEGRAM_WEBHOOK_URL = "/checkinbot/webhook"
48HEALTHCHECK_URL = "/checkinbot/healthcheck" 39HEALTHCHECK_URL = "/checkinbot/healthcheck"
49FEDI_LOGIN_CALLBACK_URL = "/checkinbot/fedi_login_callback" 40FEDI_LOGIN_CALLBACK_URL = "/checkinbot/fedi_login_callback"
Powered by cgit v1.2.3 (git 2.41.0)