diff options
Diffstat (limited to 'prompt/string.py')
-rw-r--r-- | prompt/string.py | 38 |
1 files changed, 32 insertions, 6 deletions
diff --git a/prompt/string.py b/prompt/string.py index a7bf0d1..eda0df8 100644 --- a/prompt/string.py +++ b/prompt/string.py | |||
@@ -1,9 +1,23 @@ | |||
1 | PROMPT_START = "Hello, this is `checkin.bot`. \n\n" \ | 1 | PROMPT_START = "Hello, this is `checkin.bot`. \n\n" \ |
2 | "This is a Telegram bot with functionality similar to Foursquare Swarm, " \ | 2 | "This is a Telegram bot with functionality similar to Foursquare Swarm, " \ |
3 | "but check in and post your location to the Fediverse (Mastodon/Pleroma) instead of Twitter.\n\n" \ | 3 | "but check in and post your location to the Fediverse (Mastodon/Pleroma) instead of Twitter.\n\n" \ |
4 | "Aware of privacy concerns, this bot will not store your location data." \ | 4 | "Aware of privacy concerns, this bot will not store your location data." \ |
5 | "*Be safe and cautious when sharing your real time location on the web.* \n\n" \ | 5 | "*Be safe and cautious when sharing your real time location on the web.* \n\n" \ |
6 | "Start using this bot by sharing your location using Telegram context menu to it." | 6 | "Start using this bot by sharing your location using Telegram context menu to it." |
7 | |||
8 | PROMPT_TOS = """ | ||
9 | By using this bot, you agree to the following terms of service:\n\n | ||
10 | |||
11 | <b>Data Collection</b> | ||
12 | |||
13 | <b>Server Logs</b> | ||
14 | |||
15 | <b>Server Locations</b> | ||
16 | |||
17 | <b>Data Sharing</b> | ||
18 | """ | ||
19 | |||
20 | |||
7 | PROMPT_FEDI_LOGIN_WHERE_IS_INSTANCE = "Where is your home instance in the Fediverse? (e.g. `https://mastodon.social`)" | 21 | PROMPT_FEDI_LOGIN_WHERE_IS_INSTANCE = "Where is your home instance in the Fediverse? (e.g. `https://mastodon.social`)" |
8 | PROMPT_FEDI_LOGIN = "Please login to your Fediverse account by clicking the link below:" | 22 | PROMPT_FEDI_LOGIN = "Please login to your Fediverse account by clicking the link below:" |
9 | PROMPT_CHOOSE_ACTION = "Use bot keyboard to choose an action" | 23 | PROMPT_CHOOSE_ACTION = "Use bot keyboard to choose an action" |
@@ -12,9 +26,21 @@ PROMPT_ADD_MEDIA = "You can continue adding photos, or press skip" | |||
12 | PROMPT_LOCATION_KEYWORD = "You can input location search keywords or press skip" | 26 | PROMPT_LOCATION_KEYWORD = "You can input location search keywords or press skip" |
13 | PROMPT_WAIT_LOCATION_CONFIRMATION_NO_NEARBY_POI = "No nearby places found. But you can input location name manually." | 27 | PROMPT_WAIT_LOCATION_CONFIRMATION_NO_NEARBY_POI = "No nearby places found. But you can input location name manually." |
14 | PROMPT_WAIT_LOCATION_CONFIRMATION = "Where are you?" | 28 | PROMPT_WAIT_LOCATION_CONFIRMATION = "Where are you?" |
15 | PROMPT_HELP = "Use /start to test this bot." | ||
16 | PROMPT_CANCELED = "Canceled" | 29 | PROMPT_CANCELED = "Canceled" |
17 | PROMPT_MAX_PHOTO_REACHED = "Cannot attach more than 4 medias, only first 4 will be posted" | 30 | PROMPT_MAX_PHOTO_REACHED = "Cannot attach more than 4 medias, only first 4 will be posted" |
18 | PROMPT_DONE = "Done" | 31 | PROMPT_DONE = "Done" |
32 | PROMPT_HELP = "Available commands:" \ | ||
33 | "\n`/login` - login to Fediverse account. " \ | ||
34 | "You can use this command to login to multiple Fediverse accounts" \ | ||
35 | "\n`/list` - list current linked Fediverse accounts" \ | ||
36 | "\n`/logout [number]` - logout from specified Fediverse account, default logout from all" \ | ||
37 | "\n`/vis public|private|unlisted [number]` - " \ | ||
38 | "toggle visibility of your checkins on specified instances, default=private" \ | ||
39 | "\n`/tos` - show ToS message" \ | ||
40 | "\n`/cancel` - cancel current operation during checkins" | ||
41 | |||
42 | PROMPT_LIST = "List all linked Fediverse accounts" | ||
43 | PROMPT_LOGOUT = "Choose Fediverse account to logout" | ||
44 | PROMPT_TOGGLE_VIS = "Choose visibility of your checkins on Fediverse" | ||
19 | 45 | ||
20 | CALLBACK_SKIP = "Skip" | 46 | CALLBACK_SKIP = "Skip" |