aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'config.py')
-rw-r--r--config.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/config.py b/config.py
index a412784..7ae0c21 100644
--- a/config.py
+++ b/config.py
@@ -20,7 +20,7 @@ DEFAULT_TOOT_VISIBILITY = "private"
20 20
21MEDIA_GROUP_TIMEOUT = 3 21MEDIA_GROUP_TIMEOUT = 3
22 22
23WAIT_LOCATION, LOCATION_SEARCH_KEYWORD, LOCATION_CONFIRMATION, ADD_MEDIA, ADD_COMMENT = range(5) 23FEDI_LOGIN, WAIT_LOCATION, LOCATION_SEARCH_KEYWORD, LOCATION_CONFIRMATION, ADD_MEDIA, ADD_COMMENT = range(6)
24 24
25MAIN_MENU = ReplyKeyboardMarkup([ 25MAIN_MENU = ReplyKeyboardMarkup([
26 [KeyboardButton(text="Check-in here", request_location=True)], 26 [KeyboardButton(text="Check-in here", request_location=True)],
@@ -42,3 +42,11 @@ class MsgDict(TypedDict):
42 42
43KEY_TOOT_STATUS_ID = "toot_status_id" 43KEY_TOOT_STATUS_ID = "toot_status_id"
44KEY_TOOT_STATUS_CONTENT = "toot_status_content" 44KEY_TOOT_STATUS_CONTENT = "toot_status_content"
45
46MASTODON_CLIENT_ID_FILE = "mastodon.client_id"
47
48TELEGRAM_WEBHOOK_URL = "/checkinbot/webhook"
49HEALTHCHECK_URL = "/checkinbot/healthcheck"
50FEDI_LOGIN_CALLBACK_URL = "/checkinbot/fedi_login_callback"
51BOT_DOMAIN = "https://zjw.social"
52BOT_PORT = 30010
Powered by cgit v1.2.3 (git 2.41.0)