aboutsummaryrefslogtreecommitdiff
path: root/prompt
diff options
context:
space:
mode:
authorclarkzjw <[email protected]>2023-02-23 01:09:50 -0800
committerclarkzjw <[email protected]>2023-02-23 12:07:32 -0800
commit6aafc4e506e2a9aa72955917f031241be4444c67 (patch)
tree1c52713792a47bfdae2bb99409f343825bdfc2c2 /prompt
parentc30cba1bb04945a8000c6089d5dcd376e08b2133 (diff)
downloadswarm2fediverse-6aafc4e506e2a9aa72955917f031241be4444c67.tar.gz
bot: add command templates
Diffstat (limited to 'prompt')
-rw-r--r--prompt/string.py38
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 @@
1PROMPT_START = "Hello, this is `checkin.bot`. \n\n" \ 1PROMPT_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
8PROMPT_TOS = """
9By 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
7PROMPT_FEDI_LOGIN_WHERE_IS_INSTANCE = "Where is your home instance in the Fediverse? (e.g. `https://mastodon.social`)" 21PROMPT_FEDI_LOGIN_WHERE_IS_INSTANCE = "Where is your home instance in the Fediverse? (e.g. `https://mastodon.social`)"
8PROMPT_FEDI_LOGIN = "Please login to your Fediverse account by clicking the link below:" 22PROMPT_FEDI_LOGIN = "Please login to your Fediverse account by clicking the link below:"
9PROMPT_CHOOSE_ACTION = "Use bot keyboard to choose an action" 23PROMPT_CHOOSE_ACTION = "Use bot keyboard to choose an action"
@@ -12,9 +26,21 @@ PROMPT_ADD_MEDIA = "You can continue adding photos, or press skip"
12PROMPT_LOCATION_KEYWORD = "You can input location search keywords or press skip" 26PROMPT_LOCATION_KEYWORD = "You can input location search keywords or press skip"
13PROMPT_WAIT_LOCATION_CONFIRMATION_NO_NEARBY_POI = "No nearby places found. But you can input location name manually." 27PROMPT_WAIT_LOCATION_CONFIRMATION_NO_NEARBY_POI = "No nearby places found. But you can input location name manually."
14PROMPT_WAIT_LOCATION_CONFIRMATION = "Where are you?" 28PROMPT_WAIT_LOCATION_CONFIRMATION = "Where are you?"
15PROMPT_HELP = "Use /start to test this bot."
16PROMPT_CANCELED = "Canceled" 29PROMPT_CANCELED = "Canceled"
17PROMPT_MAX_PHOTO_REACHED = "Cannot attach more than 4 medias, only first 4 will be posted" 30PROMPT_MAX_PHOTO_REACHED = "Cannot attach more than 4 medias, only first 4 will be posted"
18PROMPT_DONE = "Done" 31PROMPT_DONE = "Done"
32PROMPT_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
42PROMPT_LIST = "List all linked Fediverse accounts"
43PROMPT_LOGOUT = "Choose Fediverse account to logout"
44PROMPT_TOGGLE_VIS = "Choose visibility of your checkins on Fediverse"
19 45
20CALLBACK_SKIP = "Skip" 46CALLBACK_SKIP = "Skip"
Powered by cgit v1.2.3 (git 2.41.0)