aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'config.py')
-rw-r--r--config.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/config.py b/config.py
index 0fae9b1..fe69bd9 100644
--- a/config.py
+++ b/config.py
@@ -10,6 +10,12 @@ BOT_TOKEN = config["DEFAULT"]["BOT_TOKEN"]
10FSQ_API_KEY = config["DEFAULT"]["FOURSQUARE_API_KEY"] 10FSQ_API_KEY = config["DEFAULT"]["FOURSQUARE_API_KEY"]
11ENCRYPT_KEY = config["DEFAULT"]["ENCRYPT_KEY"] 11ENCRYPT_KEY = config["DEFAULT"]["ENCRYPT_KEY"]
12 12
13TELEGRAM_WEBHOOK_URL = config["API"]["TELEGRAM_WEBHOOK_URL"]
14HEALTHCHECK_URL = config["API"]["HEALTHCHECK_URL"]
15FEDI_LOGIN_CALLBACK_URL = config["API"]["FEDI_LOGIN_CALLBACK_URL"]
16BOT_DOMAIN = config["API"]["BOT_DOMAIN"]
17BOT_PORT = int(config["API"]["BOT_PORT"])
18
13MEDIA_GROUP_TIMEOUT = 3 19MEDIA_GROUP_TIMEOUT = 3
14 20
15FEDI_LOGIN, WAIT_VISIBILITY, WAIT_LOCATION, LOCATION_SEARCH_KEYWORD, LOCATION_CONFIRMATION, ADD_MEDIA, ADD_COMMENT = range(7) 21FEDI_LOGIN, WAIT_VISIBILITY, WAIT_LOCATION, LOCATION_SEARCH_KEYWORD, LOCATION_CONFIRMATION, ADD_MEDIA, ADD_COMMENT = range(7)
@@ -41,9 +47,4 @@ class MsgDict(TypedDict):
41KEY_TOOT_STATUS_ID = "toot_status_id" 47KEY_TOOT_STATUS_ID = "toot_status_id"
42KEY_TOOT_STATUS_CONTENT = "toot_status_content" 48KEY_TOOT_STATUS_CONTENT = "toot_status_content"
43 49
44TELEGRAM_WEBHOOK_URL = "/checkinbot/webhook"
45HEALTHCHECK_URL = "/checkinbot/healthcheck"
46FEDI_LOGIN_CALLBACK_URL = "/checkinbot/fedi_login_callback"
47BOT_DOMAIN = "https://zjw.social"
48BOT_PORT = 30010
49BOT_SCOPE = ['read:accounts', 'write:media', 'write:statuses'] 50BOT_SCOPE = ['read:accounts', 'write:media', 'write:statuses']
Powered by cgit v1.2.3 (git 2.41.0)