From 353b83d415061bff2881cbe324273409740be64c Mon Sep 17 00:00:00 2001 From: clarkzjw Date: Fri, 24 Feb 2023 21:08:59 -0800 Subject: bot: implement delayed checkin, (kind of), some TODO left --- prompt/string.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'prompt/string.py') diff --git a/prompt/string.py b/prompt/string.py index 3cc0a24..32f9aee 100644 --- a/prompt/string.py +++ b/prompt/string.py @@ -37,9 +37,13 @@ PROMPT_HELP = "Available commands:" \ "\n`/list` - list current linked Fediverse accounts" \ "\n`/logout` - logout from specified Fediverse account, default logout from all" \ "\n`/vis` - toggle visibility of your checkins on specified instances, default=private" \ + "\n`/delay` - set delayed checkin in minutes, default=0" \ "\n`/tos` - show ToS message" \ "\n`/cancel` - cancel current operation during checkins" +PROMPT_DELAYED_CHECKIN = "How many minutes to delay your checkin? By default, checkin will be posted immediately.\n" \ + "If you wish to set delayed checkin, at least 5 minutes is required. \n" \ + "Input less than 5 will be set to 0 (immediate checkin)." PROMPT_LIST = "You are linked with the following Fediverse accounts:" PROMPT_LIST_NO_RESULT = "You are not linked with any Fediverse account yet. \n\n Input /login to login." PROMPT_LOGOUT = "Choose Fediverse account to logout" -- cgit v1.2.3