diff options
author | clarkzjw <[email protected]> | 2023-02-22 11:43:10 -0800 |
---|---|---|
committer | clarkzjw <[email protected]> | 2023-02-22 11:43:10 -0800 |
commit | b3786171167337685c21d64f4eed4a7cc1c5b130 (patch) | |
tree | 8d1f31958930f4cc3628c8d5e31ad239bfb4857b /config.py | |
parent | eab21831cf13c9afdafc59adde32c85b9716e76b (diff) | |
download | swarm2fediverse-b3786171167337685c21d64f4eed4a7cc1c5b130.tar.gz |
more code formatting
Diffstat (limited to 'config.py')
-rw-r--r-- | config.py | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -16,6 +16,8 @@ TOOT_CLIENT_ID = config["TOOT"]["CLIENT_ID"] | |||
16 | TOOT_CLIENT_SECRET = config["TOOT"]["CLIENT_SECRET"] | 16 | TOOT_CLIENT_SECRET = config["TOOT"]["CLIENT_SECRET"] |
17 | TOOT_ACCESS_TOKEN = config["TOOT"]["ACCESS_TOKEN"] | 17 | TOOT_ACCESS_TOKEN = config["TOOT"]["ACCESS_TOKEN"] |
18 | 18 | ||
19 | DEFAULT_TOOT_VISIBILITY = "private" | ||
20 | |||
19 | MEDIA_GROUP_TIMEOUT = 3 | 21 | MEDIA_GROUP_TIMEOUT = 3 |
20 | 22 | ||
21 | WAIT_LOCATION, LOCATION_SEARCH_KEYWORD, LOCATION_CONFIRMATION, ADD_MEDIA, ADD_COMMENT = range(5) | 23 | WAIT_LOCATION, LOCATION_SEARCH_KEYWORD, LOCATION_CONFIRMATION, ADD_MEDIA, ADD_COMMENT = range(5) |
@@ -36,3 +38,7 @@ class MsgDict(TypedDict): | |||
36 | status_id: int | 38 | status_id: int |
37 | content: str | 39 | content: str |
38 | chat_id: int | 40 | chat_id: int |
41 | |||
42 | |||
43 | KEY_TOOT_STATUS_ID = "toot_status_id" | ||
44 | KEY_TOOT_STATUS_CONTENT = "toot_status_content" | ||