diff options
Diffstat (limited to 'config.py')
-rw-r--r-- | config.py | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -20,7 +20,7 @@ DEFAULT_TOOT_VISIBILITY = "private" | |||
20 | 20 | ||
21 | MEDIA_GROUP_TIMEOUT = 3 | 21 | MEDIA_GROUP_TIMEOUT = 3 |
22 | 22 | ||
23 | WAIT_LOCATION, LOCATION_SEARCH_KEYWORD, LOCATION_CONFIRMATION, ADD_MEDIA, ADD_COMMENT = range(5) | 23 | FEDI_LOGIN, WAIT_LOCATION, LOCATION_SEARCH_KEYWORD, LOCATION_CONFIRMATION, ADD_MEDIA, ADD_COMMENT = range(6) |
24 | 24 | ||
25 | MAIN_MENU = ReplyKeyboardMarkup([ | 25 | MAIN_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 | ||
43 | KEY_TOOT_STATUS_ID = "toot_status_id" | 43 | KEY_TOOT_STATUS_ID = "toot_status_id" |
44 | KEY_TOOT_STATUS_CONTENT = "toot_status_content" | 44 | KEY_TOOT_STATUS_CONTENT = "toot_status_content" |
45 | |||
46 | MASTODON_CLIENT_ID_FILE = "mastodon.client_id" | ||
47 | |||
48 | TELEGRAM_WEBHOOK_URL = "/checkinbot/webhook" | ||
49 | HEALTHCHECK_URL = "/checkinbot/healthcheck" | ||
50 | FEDI_LOGIN_CALLBACK_URL = "/checkinbot/fedi_login_callback" | ||
51 | BOT_DOMAIN = "https://zjw.social" | ||
52 | BOT_PORT = 30010 | ||