Queer European MD passionate about IT
Browse Source

Better interaction in manual mode

Davte 6 years ago
parent
commit
3e9bea1a95
2 changed files with 5 additions and 2 deletions
  1. 1 1
      davtelepot/__init__.py
  2. 4 1
      davtelepot/custombot.py

+ 1 - 1
davtelepot/__init__.py

@@ -7,7 +7,7 @@ __author__ = "Davide Testa"
 __email__ = "davte@libero.it"
 __email__ = "davte@libero.it"
 __credits__ = "Marco Origlia"
 __credits__ = "Marco Origlia"
 __license__ = "GNU General Public License v3.0"
 __license__ = "GNU General Public License v3.0"
-__version__ = "1.4.4"
+__version__ = "1.4.5"
 __maintainer__ = "Davide Testa"
 __maintainer__ = "Davide Testa"
 __contact__ = "t.me/davte"
 __contact__ = "t.me/davte"
 
 

+ 4 - 1
davtelepot/custombot.py

@@ -1891,7 +1891,8 @@ class Bot(telepot.aio.Bot, Gettable):
             if user_input == '  choose_addressee':
             if user_input == '  choose_addressee':
                 try:
                 try:
                     user_input = input(
                     user_input = input(
-                        "Choose an addressee."
+                        "Choose an addressee.\n"
+                        "Press enter to change bot.\n"
                         "\n\t\t"
                         "\n\t\t"
                     )
                     )
                     if len(user_input) == 0:
                     if len(user_input) == 0:
@@ -2006,6 +2007,8 @@ class Bot(telepot.aio.Bot, Gettable):
                     text = input(
                     text = input(
                         "What would you like to send "
                         "What would you like to send "
                         "{u[name]} ({u[telegram_id]})?\n"
                         "{u[name]} ({u[telegram_id]})?\n"
+                        "Leave it blank if you want to select another "
+                        "addressee.\n"
                         "\t\t\t".format(
                         "\t\t\t".format(
                             u=selected_user
                             u=selected_user
                         )
                         )